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:
- A Web service containing Create, Read, Update, or Delete database
operations.
Note: This is the Web service that you can integrate into
a service flow project. In this help topic, this Web service is referred
to as the database operations Web service.
- A List operation Web service.
Note: The service flow project
tools do not allow you to add or import this Web service into a service
flow project.
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:
- In the EST Project Explorer, right-click anywhere within an outbound
web services subproject.
Select Import CICS Web Service. The Import
Web Service Definition wizard opens.
On the first page of the wizard, titled
Import Web
Service Definitions:
- In the WSDL files to import list, add the
WSDL file that was generated for the database operations Web service.
- 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.
- Click Next.
On the second page of the wizard, titled
Select
operations:
- Select the check box beside the Web service definition for the
database operations Web service.
- 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).