- 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, 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 a maximum
Inline array size limit to enable container mappings in the generated client. You can also specify the
Default string length and
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.