Rational Developer for System z

Integrating a database application project into a service flow project

This section describes how to integrate a database application project into a service flow project.

Once you have developed a System z® Database Application Generator project (see Developing database application projects) you can integrate it into a service flow project as an outbound Web services subproject.

When you use the System z Database Application Generator plugin to create and deploy a database application, two Web services are generated:

To integrate the database operations Web service (that is, the Web service containing Create, Read, Update, or Delete database operations) into a service flow project, follow exactly the same steps that you would follow to import any Web service into a service flow project as an outbound Web service:

  1. In the EST Project Explorer, right-click anywhere within an outbound web services subproject.

  2. Select Import CICS Web Service. The Import Web Service Definition wizard opens.

  3. On the first page of the wizard, titled Import Web Service Definitions:
    1. In the WSDL files to import list, add the WSDL file that was generated for the database operations Web service.
    2. In the Project Name list, select the outbound Web services subproject in which you want the new operations file, message file, WSBind file, and WSDL file for the database operations Web service to be stored.
    3. Click Next.
  4. On the second page of the wizard, titled Select operations:
    1. Select the check box beside the Web service definition for the database operations Web service.
    2. Click Finish.

The wizard creates, in the outbound Web services subproject that you selected, a set of files defining the new outbound Web service (see Importing an outbound Web service definition).

In the flow editor, you can now drag the new outbound Web service operation to the canvas of the flow editor to create a valid Invoke outbound Web service node that invokes the database operations Web service (see Working with Invoke outbound Web service nodes).


Feedback