Previous Topic Next topic Print topic


To create a CICS Web Service provider 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 request and response JSON files that jointly describe a CICS application, or a RESTful JSON file that describes a CICS application.
  2. In the Solution Explorer, select the JSON file or 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 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. If you are using both request and response JSON files, select either the Commarea or Channel type.
    Note: RESTful JSON uses the Channel type only.
  10. If using the Channel type, optionally provide an alternative container name.
  11. Click OK.

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

  12. 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.
Previous Topic Next topic Print topic