Axis is essentially a SOAP engine, that is a framework for constructing SOAP processors such as clients, servers, gateways, etc. Installing Axis on Tomcat At first download Axis from the Apache project: http://ws.apache.org/axis/java/index.html Explode the zip folder. Now you need to deploy the Axis engine to Tomcat: Here's how to do it: Rename the folder axis under AXIS_HOME/webapps to axis.war and copy the folder under "webapps" of your tomcat Verify that Axis has been deployed correctly: http://localhost:8080/axis/ Publishing Web Services with Axis Let's say we have a simple class like the following: package test; public class HelloWorld { public String hello(String message) { return "Invoked with" +message; } } How do we go about making this class available via SOAP? There are a couple of answers to that question, but we'll start with an easy solution. At first compile the class : javac -d . HelloWorld.java Now copy the class under WEB-INF/...
This blog is a friendly place where you can learn about tomcat configuration, tomcat tips and more....