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

  1. In Visual Studio, create or open a Mainframe Subsystem project that contains either a set of request and response JSON schema files that jointly describe a CICS application, or a single JSON schema that describes a CICS application.
  2. In the Solution Explorer, do one of the following:
    • Right-click a JSON schema file that contains both request and response JSON; then select Generate Web Service from the context menu.
    • Select two JSON schema files, one that contains a request structure and another that contains a response structure; then right-click and select Generate Web Service from the context menu.
  3. Optionally check one or more specific Operation(s) from the drop-down list.
  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.
  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.
    Note: All generated CICS applications use the EBCDIC character set and 32-bit mode. These are set automatically.
  9. Optionally specify a CCSID.
  10. Click OK.
    Note: You are not required to select a type because client applications are generated to use the Channel type, 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 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.