- 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.
- 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.
- Optionally check one or more specific
Operation(s) from the drop-down list.
- 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.
- 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.
- Optionally, specify an alternative
Default string length and/or
Default array size for the service.
Note: All generated CICS applications use the EBCDIC character set and 32-bit mode. These are set automatically.
- Select either the
Commarea or
Channel type.
- If using the
Channel type, optionally provide an alternative container name in the
Container name field.
- 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.