Generate InvokeReverse Requester Components

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.

  1. On the Application Explorer view in Eclipse, click the InvokeReverse project to select it.
  2. 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.
  3. Click XML message processing.
  4. 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.

  5. Click the Browse button that corresponds to the Service definition field, and navigate to the reverse.wsdl file located in the wsdl project folder.
  6. Double-click reverse.wsdl. This populates the Service definition field.
  7. In the Program name field, type invkRev, which is the program name for the generated COBOL skeleton program.
  8. 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.