Manually Deploying Applications Using Apache Axis
Occasionally you may have to manually deploy a Web service on an Axis server.
In this example the task_name.jar file has been generated and copied from:
install_directory\Attachmate\EAI\IMSTaskDesigner\MetaData\
task_name\webservice\AxisTarget\output\jars
to the target server, here:
server_name://jakarta-tomcat-4.1.2/webapps/axis/WEB-INF/lib/
To manually deploy a Web service on an Axis server |
- Copy the generated WSDD file to a location on the target server described above.
- Copy the following JAR files to a location on the target server described above:
install_directory\EAI\IMSClient\common.jar
install_directory\EAI\IMSClient\IMSTasks.jar
install_directory\EAI\IMSClient\MetaData.jar
install_directory\EAI\IMSClient\Util.jar
install_directory\EAI\IMSClient\xerces.jar
install_directory\EAI\Common\mcs\mcsagent.jar
install_directory\EAI\Common\mcs\mcs-rpc.jar
- Re-start Apache Tomcat.
- Run the Axis AdminClient tool to process the WSDD that was generated with the task_name.jar file.
The Axis AdminClient tool is provided by Apache Axis to deploy Web services. To run the tool you must have a JAXP-1.1 compliant XML parser such as Xerces or crimson in the class path. Xerces.jar can be copied from the following directory:
install_directory\Attachmate\EAI\IMSTaskDesigner\MetaData\lib
- Run the Axis AdminClient tool:
java -classpath "C:\jakarta-tomcat-4.1.12\webapps\axis\
WEB-INF\lib\axis.jar;
C:\jakarta-tomcat-4.1.12\webapps\axis\WEB-INF\lib\jaxrpc.jar;
C:\jakarta-tomcat-4.1.12\webapps\axis\WEB-INF\lib\saaj.jar;
C:\jakarta-tomcat-4.1.12\webapps\axis\WEB-INF\lib\
commons-logging.jar;
C:\jakarta-tomcat-4.1.12\webapps\axis\WEB-INF\lib\
commons-discovery.jar;
C:\jakarta-tomcat-4.1.12\webapps\axis\WEB-INF\lib\wsdl4j.jar;
C:\xerces-1.4.4\xerces.jar" org.apache.axis.client.
AdminClient deploy.wsdd
|
 |
Class path locations may vary from system to system depending on individual installation locations. For detailed information on installing and deploying Apache Axis, see the User's Guide on the Apache Axis Web site. |