To create a CICS Web Service requester from WSDL using the top-down method

  1. In Visual Studio, create or open a Mainframe Subsystem project that contains a WSDL file that describes a CICS application.
  2. In the Solution Explorer, right-click the WSDL file; then select Generate Web Service from the context menu.
  3. On the Generate Web Service dialog box, select the Client radio button.
  4. Check CICS.
  5. 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.
  6. 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.
  7. 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.
  8. 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.