- In Visual Studio, create or open an Enterprise Server Application project that contains a WSDL file.
- In the
Solution Explorer, right-click the WSDL file; then select
Generate Web Service from the context menu.
On the
Generate Web Service dialog box, the selected WSDL file appears in the
From field.
- Optionally, select an alternative WSDL file from the
From drop-down list.
- On the
Generate Web Service dialog box, optionally specify alternative
WSDL Service,
WSDL Port, and/or
Operation(s) values using their respective drop-down lists.
- In the
Generate group, select the
Client radio button.
- In the
Program group
Name field, optionally provide an alternative program name for the generated client program.
- Optionally, provide an
Inline array size limit to generate separate structures for mappings of variable arrays in the generated client. For more information, see
Handling Variable Arrays in WSDL and JSON - Native COBOL.
- Optionally, specify an alternative
Default string length and/or
Default array size for the client.
- Select the appropriate
Character Set and
Bit Mode.
- Click
OK.
Enterprise Developer creates a new project that contains the generated COBOL console client application. The new project name is the specified
program name plus
ClientApp.
Tip: For a description of each field and control on the
Generate Web Service dialog box, see the
Generate Web Service dialog box - Native COBOL reference topic.