Installing Axis on Windows
In order to install Axis you must have:
- Apache tomcat installed. Tomcat home (this tutorial use version 5.5)
- Java JDK installed. Java 1.5 Home (this tutorial use JDK 5.0 Update 16)
Now starts the installation:
- Download Axis from here (this tutorial use version 1.4)
- Download JavaBeans activation framework JAF
- Unpack Axis archive to your deploy directory.
- Copy the directory <axis deploy dir>\webapps under the <tomcat deploy dir>\webapps
- Copy the file “activation.jar” under some directory under the classpath or visible to tomcat (i choose <tomcat deploy dir>\shared\lib)
- Configure the system environment variable (System properties > tab Advanced > Environment Variables ) as follow: (according to you axis and java 1.5 SDK deploy directory)
set AXIS_HOME=c:\axis
set AXIS_LIB=%AXIS_HOME%\lib
set AXISCLASSPATH=%AXIS_LIB%\axis.jar;%AXIS_LIB%\commons-discovery.jar;
%AXIS_LIB%\commons-logging.jar;%AXIS_LIB%\jaxrpc.jar;%AXIS_LIB%\saaj.jar;
%AXIS_LIB%\log4j-1.2.8.jar;%AXIS_LIB%\xml-apis.jar;%AXIS_LIB%\xercesImpl.jar
set JAVA_HOME=c:\Java\jdk1.5.0_16
go to page: http://localhost:8080/axis/happyaxis.jsp to test installaion
Follow this article to test your fresh installation with some custom webservices.
For different OS you have only to change Environment Variables section accordingly to your situation.
Have a nice day
Una risposta.
Some warning message is printed from the client of the services until you provide this jar to the classpath: mailapi.jar. available from http://java.sun.com/products/javamail/.
In the client side you need also the activation.jar