We provide two options:
- Generate the client application as a new project
-
- In
Enterprise Developer, click
File > New > Project.
- Expand
Templates > COBOL; then click
Native.
- In the center panel, click
Web Service Client Application from WSDL/JSON.
- Complete the
Name,
Location, and
Solution name fields as required.
- Check or uncheck the
Create directory for solution and
Add to source control check boxes as required.
- Click
OK.
- Browse to an existing WSDL
or JSON
file; then click
Open.
Enterprise Developer creates a solution and project that contains the generated client application files.
- Generate the client application using files in an existing project
-
- In the Solution Explorer, right-click a WSDL
or JSON
file, or select and then right-click both a request and a response JSON file that jointly describe a COBOL application; then select
Generate Web Service from the context menu.
- On the Generate Web Service dialog box, select the
Client radio button.
- In the
Program group
Name field, optionally provide an alternative program name.
- Click
OK.
Enterprise Developer generates and adds the client application files to a new project in the current solution.
Tip: For a description of each field and control on the Generate Web Service dialog box, see the
Generate Web Service dialog box reference topic.