Deploy Your Apache Axis Web Services

Task Builders generate an Ant script, specific to the computer where Task Builder is installed, to automatically deploy an Axis Web service on the design-time computer. Follow the second procedure on this page to develop applications on a different computer.

To deploy an Apache Axis Web service to the same computer where the Web service was generated
  1. Start Apache Tomcat.

  2. Run this file:

    install_directory\Attachmate\EAI\CICSTaskDesigner\ws\output\
    Continued linetask_name\AxisTarget\ant.exe

  3. Run this file:

    install_directory\Attachmate\EAI\CICSTaskDesigner\ws\output\
    Continued linetask_name\AxisTarget\deploy.cmd

    This starts the Ant script.

  4. Re-start Apache Tomcat.
    Note If you are running Apache Tomcat on the design-time computer, you may need to run deploy.cmd again, after you re-start Apache Tomcat, in order to successfully deploy the Apache Axis Web service. This is necessary because the Ant script used by Services Builder must be run once to copy the service JAR file, and again to run the Apache configuration tool.

  5. Test your Web services deployment by typing the following into the address field of your browser:

    http://server_name:8080/axis/services/task_name?wsdl

To deploy an Apache Axis Web service to a different server than where Task Builder is installed
  1. Copy the entire AxisTarget folder to the desired server and customize the Ant script. Then run the script as described above.

    -or-

    Deploy the Web service manually. For detailed information on deploying the Web service manually, see the User's Guide on the Apache Axis Web site.

  2. Test your Web services deployment by typing the following into the address field of your browser:

    http://server_name:8080/axis/services/task_name?wsdl

  Attachmate