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 the IDE
You can generate client applications from the
Enterprise Developer IDE by creating a new project using the Web Service Client Application from WSDL/JSON template.
Before generating your client, you can optionally change the default string length to use for unbounded strings and the default array size to use for unbounded arrays. The preset defaults are:
Default string length:
|
256
|
Default array size:
|
256
|
Generate Using the imtkmake Command
Use of this command is fully documented in the topic
imtkmake command.