Apache-SOAP Version 2.0: Installing the Server-Side Under JRun 3.0

IMPORTANT: JRun comes with an XML parser, which will by default hide Xerces and therefore cause problems with your SOAP installation. Please follow step 1 below!

  1. Open up JRun's global.properties file (in path-to-JRun/lib) and add the Xerces .jar file to the beginning of the jrun.classpath line. Mine looks like this:
    jrun.classpath=E:/Projects/xerces-1_1_3/xerces.jar;{jrun.rootdir}/lib/ext;{jrun.rootdir}/lib/jrun.jar;{jrun.rootdir}/lib/install.jar
  2. Go into the JMC, and select the "Web Applications" section of your server (I use the JRun Default Server). Click on "deploy an application".

  3. Select the Apache-SOAP /java/webapps directory in the "Servlet War File or Directory" box.

  4. Name the application (I call it "xml-soap"), and pick a base URL (I use "/xml-soap")

  5. Select a deploy directory (I use the default, which is JRun's default server directory, plus /xml-soap, so for me C:/JRun/servers/default/xml-soap

  6. Click "deploy"

  7. Go to the "java settings" area of your default server, and add the Apache-SOAP lib directory (path-to-SOAP/lib) and the base directory (this is so you get access to the samples) to the classpath.

  8. Restart the server. NOTE: You must shut down and restart BOTH the admin server and the default server for the change you made to the global.properties file to take.

  9. Try it out - access http://localhost/xml-soap/servlet/rpcrouter and see if you get the "I can't do GET" message.
If the above worked, you know the servlet was succesfully installed. You should now be able to deploy services by pointing your browser at:
http://localhost/xml-soap

Happy SOAP-ing!