Previous Topic Next topic Print topic


CICS Web Service Types and Methods

Note: This is a technology preview feature only. It is being made available to allow you to test and provide feedback on this new capability; however, this feature is not intended for production use and it is not supported as such. Furthermore, Micro Focus does not guarantee that this feature will be delivered at a GA level and if it is, then the functionality provided might differ considerably from this technology preview.

Using Enterprise Developer, you can generate the following types of CICS Web services:

Provider
A provider CICS Web service is made available over the Web to a requester, which can be another Web service or a SOAP request. The requester makes one or more requests to the provider, which then returns the requested data back to the requester.
Using Enterprise Developer, you can create a provider CICS Web service using either the bottom-up or the top-down method.
Bottom-up method
To use the bottom-up method, you start with an existing CICS COBOL application, and expose its functionality as a Web service suitable for access across the Web.

From the original application, Enterprise Developer generates a WSDL file that describes the application, and a WSBIND file that maps the input and output of the application to the Web service.

If you want to make your provider Web service available to multiple clients via the Web, you can distribute the generated WSDL file from which requester clients can be generated. Organizations that distribute WSDL files for this purpose are called Web service provider agents.

Top-down method
To use the top-down method, you start with a WSDL file that describes an existing web service. From the WSDL file, a set of COBOL language structures are generated which are used to create a new application.

From the WSDL file, Enterprise Developer generates a provider program to process requests, and a WSBIND file that maps the input and output of the application to the Web service.

Requester
All CICS Web service requesters (also called clients) are created using the top-down method. You start with a WSDL file such as one supplied by a Web service provider agent, that describes the underlying CICS application. From the WSDL file, Enterprise Developer generates a CICS client application to launch the Web service requester, and to receive returned data. In addition, Enterprise Developer generates a WSBIND file that maps the input and output of the application to the Web service.
Previous Topic Next topic Print topic