Provides step-by-step instructions to generate all components of the InvokeReverse CICS Web service requester.
Use the
New CICS Web Service wizard to generate the components of your Web service requester.
- On the
Application Explorer view in Eclipse, click the
InvokeReverse project to select it.
- Click
File > New > CICS Web Service. This starts the
New CICS Web Service Wizard.
Note: If
CICS Web Service is not listed, select
Other, expand
Micro Focus Service Interface, select
CICS Web Service, and click
Next.
- Click
XML message processing.
- From the
Service type drop-down list, select
CICS Web Service Requester (Top-Down); then click
Next.
The
Project field should already show the
InvokeReverse project name.
- Click the
Browse button that corresponds to the
Service definition field, and navigate to the
reverse.wsdl file located in the
wsdl project folder.
- Double-click
reverse.wsdl. This populates the
Service definition field.
- In the
Program name field, type
invkRev, which is the program name for the generated COBOL skeleton program.
- Click
Finish.
Enterprise Developer generates the following CICS Web service components:
- invkRev.cbl
- A skeleton CICS program.
- REQ01.cpy
- A copybook containing the COBOL data structures required to send a SOAP request as input.
- RESP01.cpy
- A copybook containing the COBOL data structures required to receive a SOAP response message as output.
- loadlib/invkRev.wsbind
- A bind file that maps the SOAP request to the data structure in
REQ01.cpy, and maps the data structure in
RESP01.cpy to the SOAP response message.