Walks you through the process of generating a COBOL client for the ProgramREST service interface.
Restriction: This topic applies only when the Enterprise Server feature is enabled.
Restriction: This topic applies to Windows environments (local development) only.
You can now generate a COBOL client to access the ProgramREST service that you deployed to the ESREST
enterprise server instance.
- From the COBOL Explorer, right-click the
ProgramREST Web Service; then select
Generate Client from the context menu.
- On the Generate Client dialog box, click
Current Project; then click
OK.
You can watch the generation process in the Service Interfaces Console. When it is complete, you'll see the message "The client generation completed successfully" after which Eclipse rebuilds the project. You should see that the following files have been added to the project:
- COBOL Programs > client >
ProgramREST-app.cbl
- COBOL Programs > client >
ProgramREST-proxy.cbl
- Copybooks > client >
ProgramREST-copy.cpy