This program illustrate the deploying anf undeploying a service that accepts a user defined
Java class as arguments and also returns a user defined Java class. Note the use of BeanSerializer
in the deployment desciptor file deploy.wsdd.
Assumptions:
You have J2SE SDK, Apache Tomcat and Apache Axis installed and Apache Axis is deployed on Tomcat on the local machine at the dfault port (8080). These instructions were tested with J2SE 1.4 SDK, Tomcat 4.0.1 and Axis RC1 on Windows 2000. Should work fine on later versions as well.
Steps:
These steps assume that you are in the same directory where this readme.html resides and you
have run the setenv.bat script packaged in ..\.. directory.
javac *.java.
AddFunction1.class,
Complex.class and LogHandler.class to the class directory of Axis Servlet
(usually %TOMCAT_HOME%\webapps\axis\WEB-INF\classes.
java org.apache.axis.client.AdminClient deploy.wsdd
java org.apache.axis.client.AdminClient undeploy.wsdd
To complete the undeployment, you can remove the service specific classes from
%TOMCAT_HOME%\webapps\axis\WEB-INF\classes directory.