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, optionally specify alternative WSDL Service, WSDL Port, and/or Operation(s) values using their respective drop-down lists.
  4. Select the Client radio button.
  5. Check CICS.
  6. 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.
  7. 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.
  8. Optionally, specify an alternative Default string length and/or Default array size for the client.
  9. 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.
  10. 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.