- In Visual Studio, create or open a Mainframe Subsystem project that contains a WSDL file that describes a CICS application.
- 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, optionally specify alternative
WSDL Service,
WSDL Port, and/or
Operation(s) values using their respective drop-down lists.
- Select the
Client radio button.
- Check
CICS.
- In the
Program group
Name field, optionally provide an alternative program name for the generated client program.
Note: The program name must be eight characters or fewer to comply with CICS naming rules.
- Optionally, provide an
Inline array size limit to generate separate structures for container-based mappings in the generated client. For more information, see
Handling Variable Arrays in WSDL and JSON - CICS COBOL.
- Optionally, specify an alternative
Default string length and/or
Default array size for the client.
- Optionally provide an alternative
WEBSERVICE name. This is the Web service name as it is called from the CICS program using EXEC CICS INVOKE WEBSERVICE.
- Click
OK.
Note: You are not required to select a type because CWS client applications use the
Channel type by default, and use the default
DFHWS-DATA
Container name. These are automatically set for you.
Enterprise Developer creates a new project that contains the generated CICS client application. The new project name is the specified program
name plus
CICSClientApp.
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.