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 Application project that contains a CICS COBOL application.
- From the Solution Explorer, right-click the project; then click
Add >
New Item.
- In the left pane, expand
COBOL > Native; then click
Mainframe Subsystem.
- In the center pane, click
Service Interface.
- In the
Name field, type a name for the service interface; then click
Add.
- On the Service Interface dialog box, select
Web Service from the
Type of interface drop-down list.
- Check
CWS-type.
- Select the
SOAP transport type.
- From the
Type of source drop-down list, select either
CICS Commarea or
CICS Channel depending on the type of source contained in your CICS application.
- Click
OK.
Enterprise Developer creates the service interface, adds it to the project, and loads it into the
Interface Mapper.
- In the Interface Mapper, click
OPERATION > New.
- In the
Name field, type a name for the operation.
- Check both
Create Default Mappings boxes.
- Complete the other fields as required to select the program/copybook and input/output structures. See
Operation Properties - CICS Web Services - General tab for a description of each field.
- Click
OK.
- Click
File > Save All to save the completed operation.
- Optionally close the
Interface Mapper.
- In the Solution Explorer, right-click the service interface (.svi) file; then select
Generate WSBIND from the context menu.
Enterprise Developer generates a WSBIND file and a WSDL file and adds them to the project.