Software
JDK & Tomcat Application Server
Apache Axis (NOT Recommended for new Web Service Development)
Apache Axis2
Eclipse IDE
Installation
- Install the JDK - De-select Demo's and Source Code; Choose defaults for everything else
- Add the following system environment variables
- JAVA_HOME=C:\Program Files\Java\jdk1.5.0_09 (NOTE: Substitute the appropriate path here)
- Add “%JAVA_HOME%\bin” to the PATH
- Verify "javac" from the command prompt works!
- Reboot
- Install Apache Tomcat into "C:\DevTools\Tomcat5.5"
- Use "Full" Install for a DEV Environment
- Choose Port 80 as the HTTP Connector Port (Verify that you do not have another web server running on Port 80)
- Choose a userid/password for the Administrator Login
- Choose the previously installed JDK (NOT the JRE) when asked a path to a Java JVM
- If you expect to provide the web services to remote machines, configure the windows firewall to let in ports 80/443
- Reboot
Axis (NOT Recommended for new Web Service Development)
- Install Axis into "C:\DevTools\axis-1_4"
- Add the following system environment variables
- AXIS_HOME=C:\DevTools\axis-1_4
- AXIS_LIB=%AXIS_HOME%\lib
- AXISCLASSPATH=%AXIS_LIB%\axis.jar;%AXIS_LIB%\commons-discovery-0.2.jar;
%AXIS_LIB%\commons-logging-1.0.4.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\saaj.jar;
%AXIS_LIB%\log4j-1.2.8.jar;
- Copy "xercesImpl.jar" & "xml-apis.jar" to from "Xerces-J-bin.2.8.1.zip" to "C:\DevTools\axis-1_4\webapps\axis\WEB-INF\lib"
- Copy "activation.jar" from "jaf-1_1-fr.zip" to "C:\DevTools\axis-1_4\webapps\axis\WEB-INF\lib"
- Copy "mail.jar" from "javamail-1_4.zip" to "C:\DevTools\axis-1_4\webapps\axis\WEB-INF\lib"
- Copy "xmlsec-1.3.0.jar" from "xml-security-bin-1_3_0.zip" to "C:\DevTools\axis-1_4\webapps\axis\WEB-INF\lib"
- Copy "wss4j-1.5.0.jar" from "wss4j-bin-1.5.0.zip" to "C:\DevTools\axis-1_4\webapps\axis\WEB-INF\lib"
- Register Axis with Tomcat by creating "axis.xml" in "C:\DevTools\Tomcat5.5\conf\Catalina\localhost"
- "axis.xml" should contain just one line - "<Context docBase="C:\DevTools\axis-1_4\webapps\axis" />"
- Reboot
- Run "http://localhost/axis/happyaxis.jsp" and verify all needed components are installed
- Run "http://localhost/axis/EchoHeaders.jws?method=list" and verify there are no errors
Axis2
- Unzip the Axis2 Standard Binary Distribution into "C:\DevTools\axis2-1.3"
NOTE: Substitute the appropriate path to the current version of Axis2
- Add the following system environment variables
- AXIS2_HOME=C:\DevTools\axis2-1.3
- Add the following to the PATH
- [NOTE: You are doing all this so that you have access to the command line utilities like wsdl2java etc.]
- Copy the axis2.war to the "C:\DevTools\Tomcat 5.5\webapps" directory
- Browse to http://localhost/axis2/axis2-web/HappyAxis.jsp and verify that all needed components are installed
- Copy any needed modules to "C:\DevTools\Tomcat 5.5\webapps\axis2\WEB-INF\modules"
- Restart Tomcat
IDE Installation
- Unzip the Eclipse WTP All-In-One Package to into "C:\DevTools"
- Install any needed Axis2 Plug-ins
br>