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\CICSTaskDesigner\MetaData\
Continued linetask_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
  1. Copy the generated WSDD file to a location on the target server described above.

  2. Copy the following JAR files to a location on the target server described above:

    install_directory\EAI\CICSClient\common.jar
    install_directory\EAI\CICSClient\CICSTasks.jar
    install_directory\EAI\CICSClient\MetaData.jar
    install_directory\EAI\CICSClient\Util.jar
    install_directory\EAI\CICSClient\xerces.jar
    install_directory\EAI\Common\mcs\mcsagent.jar
    install_directory\EAI\Common\mcs\mcs-rpc.jar

  3. Re-start Apache Tomcat.

  4. 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\CICSTaskDesigner\MetaData\lib

  5. Run the Axis AdminClient tool:
    java -classpath "C:\jakarta-tomcat-4.1.12\webapps\axis\
    Continued lineWEB-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\
    Continued linecommons-logging.jar; C:\jakarta-tomcat-4.1.12\webapps\axis\WEB-INF\lib\
    Continued linecommons-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.
    Continued lineAdminClient deploy.wsdd
Note 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.
Related Topics
Bullet Using Apache Axis Web Services
Bullet Deploying Apache Axis Web Services
Bullet Calling Apache Axis Web Services
Bullet How to Provide Tasks as Apache Axis Web Services
  Attachmate