Java Tutorial - Java Scipt : Binding Axis under a Different Name

Java Tutorial - Java Scipt :

Binding Axis under a Different Name

Axis is just a regular J2EE Web application. By default, it is deployed in an extracted .war directory. You can change the name by which Axis is bound under Tomcat.

 To expose the Axis Web services under a different binding, simply rename the Web application folder and restart Tomcat. Now, try changing the bound name from axis to mywebservices.

 You may not be able to change the Web application’s name while Tomcat is running. If that’s the case, you’ll have to shut down Tomcat before renaming.

On Windows, use:

ren %TOMCAT_HOME%\webapps\axis %TOMCAT_HOME%\webapps\mywebservices

On Linux, use:

mv $TOMCAT_HOME/webapps/axis $TOMCAT_HOME/webapps/mywebservices

Restart Tomcat, and now you’ll see that Axis is available at http:// localhost:8080/mywebservices/.

See, nothing magical about it at all! As you can see, using Java Web services via Apache Axis is a piece of cake.