To create a CICS Web Service provider 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.

    On the Generate Web Service dialog box, the selected WSDL file appears in the From field.

  3. Optionally, select an alternative WSDL file from the From drop-down list.
  4. 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.
  5. Select the Service radio button.
  6. Optionally, provide an alternative service name in the Service Name field.
  7. Check CICS.
  8. In the Program group Name field, optionally provide an alternative program name for the generated skeleton CICS COBOL program.
    Note: The program name must be eight characters or fewer to comply with CICS naming rules.
  9. Optionally, provide an Inline array size limit to generate separate structures for container-based mappings in the generated service. For more information, see Handling Variable Arrays in WSDL and JSON - CICS COBOL.
  10. Optionally, specify an alternative Default string length and/or Default array size for the service.
  11. Select either the Commarea or Channel type.
  12. If using the Channel type, optionally provide an alternative container name.
  13. Click OK.

    Enterprise Developer generates and adds a skeleton CICS COBOL program and a service interface (.svi) file to the current project in a folder with the same name as the specified program name.

  14. Right-click the .svi file; then select Generate WSBIND from the context menu.

    Enterprise Developer generates a .wsbind file and adds it to the current project in a folder with the same name as the specified program name.

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.