To setup Axis2, do some tests and prepare for the axis tutorial (Web Serivces Example Using axis 2 and Tomcat). Also setup tcpmon required for SOAP debugging. Leave any questions or problems as comments and I will endeavour to answer them.
This article assumes that you have the JDK 1.5 or compatible already installed. Also you have a working and compatible version of tomcat installed and running. Tomcat is running on 8080 for this example.
Versions used in this example
|Windows XP SP2||N/A|
|Axis 2 (war)||Axis2-1.4-war.zip|
|Axis 2 (bin)||Axis2-1.4-bin.zip|
|Axis 1 (for tcpmon)||axis-bin-1_4.zip|
- Download the Axis 2 war distribution (axis2-1.4-war.zip) and unzip it. Copy the axis2.war file to the webapps directory in your tomcat installation. After a couple of seconds you should see an axis2 directory automatically created by tomcat.
- Go to http://127.0.0.1:8080/axis2. You should see a welcome message with the headings- Services, Validation and Administration.
- Click on Administration, login using username 'admin' and password 'axis2.' have a play around. Your axis install is done.
- Download the Axis 2 binary (axis2-1.4-bin.zip) distribution and unzip it to a directory. This is where all your tools and libs will be when we go to build a service.
- You are now finished.
tcpmon (not required for axis 2, but useful for debugging)
- Download Axis 1 ( axis-bin-1_4.tar.gz). I'm doing this so I can get at the axis.jar file that contains tcpmon. I cannot seem to find tcpmon in the new Axis2 jars.
- Unzip it to a directory ('D:\axis2-1.4.1-bin\' in this example).
- Run the command below substituting the axis.jar directory with the location of your directory/file.
.../anywhere>java -cp D:\axis2-1.4.1-bin\lib\axis.jar org.apache.axis.utils.tcpmon
Back to the tutorial trail | Home