You can generate a COBOL client console application starting from any WSDL or JSON file, whether generated using the Interface Mapping Toolkit (IMTK), or created using some other method. The files generated are:
- filename-app.cbl - main COBOL program
- filename-proxy.cbl - proxy COBOL program called by the main COBOL program
- filename-copy.cpy - copybook containing working storage definitions
- filename.cvt - an xml-formatted file containing data items and entry points
- filename.svi - a service interface file you can further define using the IMTK
Where
filename is the file prefix of the WSDL or JSON file.
Generate from a Service Interface
You can generate clients from WSDL or JSON files that are part of a service interface.
- Clients from WSDL
- The WSDL file must be part of a REST Web Services service interface.
- Clients from JSON
- The JSON file must be part of a SOAP Web Services service interface.
Generate Using the imtkmake Command
Use of this command is fully documented in the topic
imtkmake command.