Generate InvokeReverseJSON Requester Components

Provides step-by-step instructions to generate all components of the InvokeReverseJSON CICS Web service requester.

Use the Generate Web Service dialog box to generate the components of your Web service requester.

  1. From the Solution Explorer, expand the ReverseJSON project's json folder; then Ctrl-click both the reverseReq.json and reverseResp.json files.
  2. Right-click the selected .json files; then select Generate Web Service from the context menu.
  3. In the Generate Web Service dialog box, ensure that reverseReq.json populates the (For request) field, and reverseResp.json populates the (For response) field.
  4. In the Generate group, select the Client radio button.
  5. In the Program group's Name field, type invkRevJ, which is the name for the generated COBOL skeleton program.
  6. In the Program group, check CICS.
  7. Click OK.

Enterprise Developer generates a new project named invkRevJCICSClientApp. It contains:

invkRevJ.cbl
A skeleton CICS program.
InvkRevJInBundle
A folder that contains generated input files.
jsbinds/invkRevI.json
A JSBIND file for converting between input JSON messages and COBOL data structures.
jsbinds/reverseReq.json
A copy of the input JSON that corresponds to the invkRevJ.cbl program.
META-INF/cics.xml
A reference file used by Enterprise Server to establish the structure of the input bundle directory.
InvkRevJOutBundle
A folder that contains generated output files.
jsbinds/invkRevO.json
A JSBIND file for converting between output JSON messages and COBOL data structures.
jsbinds/reverseResp.json
A copy of the output JSON that corresponds to the invkRevJ.cbl program.
META-INF/cics.xml
A reference file used by Enterprise Server to establish the structure of the output bundle directory.