Академический Документы
Профессиональный Документы
Культура Документы
Windows XP SP2
Apache Axis2
Latest Version of Axis2 Standard Binary Distribution & WAR Distribution Any needed Axis2 Modules (e.g. Modules for WS-Security, WSReliableMessaging etc.) Any needed Axis2 Tools (e.g. Plug-ins for Eclipse)
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)
o o
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)
o o o o o
Reboot
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
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%\commonsdiscovery-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;
o o o
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\axis1_4\webapps\axis\WEB-INF\lib" Copy "mail.jar" from "javamail-1_4.zip" to "C:\DevTools\axis1_4\webapps\axis\WEB-INF\lib" Copy "xmlsec-1.3.0.jar" from "xml-security-bin-1_3_0.zip" to "C:\DevTools\axis1_4\webapps\axis\WEB-INF\lib" Copy "wss4j-1.5.0.jar" from "wss4j-bin-1.5.0.zip" to "C:\DevTools\axis1_4\webapps\axis\WEB-INF\lib" Register Axis with Tomcat by creating "axis.xml" in "C:\DevTools\Tomcat5.5\conf\Catalina\localhost"
o
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
o o
[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\WEBINF\modules" Restart Tomcat
IDE Installation
Unzip the Eclipse WTP All-In-One Package to into "C:\DevTools" Install any needed Axis2 Plug-ins