Generating Apache Axis Web Services

Before you can generate a Web service from your task to use with Apache Axis, you will need to install Apache ANT and Apache Axis, and configure the paths to these applications from Task Builder. For details, see Installing and Configuring Apache Axis for Use with Synapta Services Builder.

When you generate Web services for Apache Axis, a bean is generated, which is essentially identical to a service bean, except that it includes a Web Service Deployment Descriptor (WSDD) for deployment to the Apache Axis server. The following files are also created:

To generate Apache Axis Web services
  1. In Task Builder, from Tools, select Options.

  2. From the Generating page, select Apache Axis, and click Properties.
    Set this property
    To
    UniqueNameXSLT install_directory\EAI\IMSTaskDesigner\ws\
    Continued linetemplates\internal\unique-naming.xslt

    The value for this field is populated when Task Builder is installed. You must retain the value setting displayed here.

    Axis.Home Axis_install_location

    This should be the path to the Axis folder copied to the Tomcat_install_location\webapps folder.

    Axis.Port The port on which the Tomcat server is running, and where Axis is installed and configured to run. (The default: 8080.)

  3. Verify that your Java compilation environment has been set in Task Builder, by choosing, from the Tools menu, Options, then Compiling.

    Locations for Sun Java 2 SDK (JDK) and Apache ANT build should both be set.

  4. Once you have created a Task Definition, click the Generate button.

  5. Select a task file containing the inputs and outputs you want to implement in your generated task, and then click Next.

  6. Select Apache Axis under Web services.

    You can optionally select other task interface types to generate. If you want to generate only an Apache Axis Web service, clear the other types of interface objects selected.

    Interface object types are automatically selected for option types that are configured from the Options dialog box.

  7. When you have finished with your selections, click the Generate button.

    The Generation Results dialog box displays, indicating the results of the generation process, and listing the files generated in the following folder:

    install_directory\EAI\IMSTaskDesigner\ws\output\
    Continued lineTask_file_name\AxisTarget

Related Topics
Bullet Creating Tasks Files
Bullet Using Apache Axis Web Services
Bullet Installing and Configuring Apache Axis for Use with Synapta Services Builder
Bullet Deploying Apache Axis Web Services
  Attachmate