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