Generated Web Service Components

The Web service components generated by WSDL and JSON include a skeleton COBOL program, input and output copybooks, and a service interface file. The output varies slightly depending on the type of input file(s) provided.

WSDL
Input File
A WSDL file that describes a COBOL application.
Output Files
When you generate a Web service from a WSDL file, Visual COBOL generates the following Web service components:
WSDLFileName.cbl
A skeleton COBOL program.
WSDLFileNameI01.cpy
A copybook containing the COBOL data structures required to send a SOAP request as input.
WSDLFileNameO01.cpy
A copybook containing the COBOL data structures required to receive a SOAP response message as output.
WSDLFileName.svi
A service interface file that contains default mappings between the generated COBOL skeleton program and the Web service described in the WSDL.
JSON, Request-Response
Input Files
A set of request and response JSON schema files that describe a COBOL application.
Output Files
When you generate a Web service from JSON, Visual COBOL generates the following Web service components:
JSONRequestFileName\First5CharsRequestJSONFileName.cbl
A skeleton COBOL program.
JSONRequestFileName\First5CharsJSONFileNameI01.cpy
A copybook containing the COBOL data structures required to send a JSON request as input.
JSONRequestFileName\First5CharsResponseJSONFileNameO01.cpy
A copybook containing the COBOL data structures required to receive a JSON response as output.
JSONRequestFileName.svi
A service interface file that contains default mappings between the generated COBOL skeleton program and the Web service described in the JSON.
JSON, RESTful
Input File
A JSON schema file that describes a COBOL application.
Output Files
When you generate a RESTful Web service from JSON, Visual COBOL generates the following Web service components:
JSONFileName\First5CharsJSONFileName.cbl
A skeleton COBOL program.
JSONFileName\First5CharsJSONFileNameI01.cpy
A copybook containing the COBOL data structures required to send a JSON request as input.
JSONFileName\First5CharsJSONFileNameO01.cpy
A copybook containing the COBOL data structures required to receive a JSON response as output.
JSONFileName.svi
A service interface file that contains default mappings between the generated COBOL skeleton program and the Web service described in the JSON.