Walks you through the process of setting client generation properties, generating a COBOL client to access the CarTracker
RESTful Web service, and building the COBOL client project.
Restriction: This topic applies only when the Enterprise Server feature is enabled.
Set client generation properties
The generation process automatically produces a console client. You want to ensure that other types of client generation are
turned off.
- From the Visual Studio main menu, click
Tools > Options.
- Expand
Micro Focus Tools, and then click
Service Interfaces.
- Uncheck all checked client types, if any, and then click
OK.
Generate the client
- From the
Solution Explorer, right-click the
CarTracker service interface; then select
Generate Clients from the context menu.
You can watch the generation process in the
Output window. When it is complete, you should see that a new project, CarTrackerClientApp, has been added to the
Solution Explorer.
This new project contains the client files required to successfully access the CarTracker service now running on the ESRSTAPI
enterprise server.
Build the client project
You need to build a client project before running it.
- On the
Solution Explorer, right-click the
CarTrackerClientApp project, and then select
Build from the context menu.