Manually Deploying Applications Using Apache Axis
Occasionally you may have to manually deploy a Web service on an Axis server.
In this example (for Synapta Services Builder for Screens) the project_name.jar file has been generated and copied from:
EAI\recordings\project_name\webservice\AxisTarget\output\jars\
- to -
the target server: 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. Re-start Apache Tomcat.
- Run the Axis AdminClient tool to process the WSDD that was generated with the project_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 Xerxes or crimson in the class path. Xerces.jar can be copied from Attachmate/EAI/ScreenConnectors/lib directory.
- 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. The Apache Axis Web site has a complete User's Guide containing detailed information on installing and deploying Apache Axis. |