In addition to the default COBOL console client, you can optionally generate a CICS application client for CICS Web Service-type
service interfaces.
When you generate clients for a service interface,
Enterprise Developer adds a generated client project to the solution. The name of the project is
myserviceCICSClientApp. The components of the client application differ depending on whether the transport type of the service interface is SOAP
or JSON.
SOAP
- First8Charsmyservice.cbl
- A skeleton COBOL program.
- First5CharsmyserviceI0n.cpy
- A copybook for each of
n operations, containing the COBOL data structures required to send a SOAP request.
- First5CharsmyserviceO0n.cpy
- A copybook for each of
n operations, containing the COBOL data structures required to receive a SOAP response.
- myservice.wsbind
- A bind file that maps the SOAP request message to the data structure in the input copybook, and maps the data structure in
the output copybook to the SOAP response message.
JSON
- First8Charsmyservice.cbl
- A skeleton COBOL program.
- First5CharsmyserviceI01.cpy
- A copybook containing the COBOL data structures required to send a JSON request.
- First5CharsmyserviceO01.cpy
- A copybook containing the COBOL data structures required to receive a JSON response.
- myserviceInBundle
-
A folder that contains generated input files.
- jsbinds\myserviceI.jsbind
- A JSBIND file for converting between input JSON messages and COBOL data structures.
- jsbinds\myserviceI.json
- A copy of the input JSON that corresponds to the generated skeleton CICS program.
- META-INF\cics.xml
- A reference file used by Enterprise Server to establish the structure of the input bundle directory.
- myserviceOutBundle
- A folder that contains generated output files.
- jsbinds\myserviceO.jsbind
- A JSBIND file for converting between output JSON messages and COBOL data structures.
- jsbinds\myserviceO.json
- A copy of the output JSON that corresponds to the generated skeleton CICS program.
- META-INF\cics.xml
- A reference file used by Enterprise Server to establish the structure of the output bundle directory.