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.
- 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.
- In the Solution Explorer, select the JSON file or files.
- 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.
- If necessary, change the values in the
(For request) and
(For response) fields using their respective drop-down lists.
- Select the
Service radio button.
- Optionally, provide an alternative service name in the
Service Name field.
- Check
CICS.
- 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.
- 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.
- If using the
Channel type, optionally provide an alternative container name.
- 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.
- 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.