Previous Topic Next topic Print topic


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

Attention: This feature is in Early Adopter Product (EAP) release status. We intend to provide the finalized feature in a future release. Please contact Micro Focus SupportLine if you require further clarification.

The CICS Web Services feature is EAP for development and testing usage. It should not be used for production deployment in this product release.

  1. In Visual Studio, create or open a Mainframe Subsystem project that contains a CICS application that includes a main CICS COBOL program and request and response JSON schema files that contain input and output data structures respectively.
  2. In the Solution Explorer, Ctrl-click to select both JSON files.
  3. Right-click a selected file; then select Generate Web Service from the context menu.
    Note: On the Generate Web Service dialog box, when using a RESTful JSON file, this file appears in the (For request) field, and the (For response) field is set to <None>. When using both request and response JSON files, these appear in the (For request) and (For response) fields respectively.
  4. If necessary, change the values in the (For request) and (For response) fields using their respective drop-down lists.
  5. Select the Client radio button.
  6. Check CICS.
  7. In the Program group Name field, optionally provide an alternative program name for the generated client program.
  8. 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.
  9. Optionally specify a CCSID.
  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 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.
Previous Topic Next topic Print topic