In CICS TS 3.1, support was added for Web services, meaning that applications running in a traditional CICS environment could now participate in a Web services environment as either service providers, requesters, or both. Years of investment into application design and implementation are now increasing their value by being able to participate in new technologies without the need for re-programming.
This section discusses the support added to CICS to enable a Web service environment.
1. Web services assistant utility
This utility contains two programs, DFHWS2LS and DFHLS2WS:
The Web services assistant supports the COBOL, PL/I, C, and C++ programming languages.
2. Deploying CICS applications
The Web services support allows you to take two different approaches for deploying CICS applications:
Both DFHLS2WS and DFHWS2LS generate a file called the wsbind file.When the application runs, CICS will use the wsbind file to transform the application data into a SOAP message on output, and it transforms the SOAP message to application data on input.
3. PIPELINE for message handling
A new concept in CICS TS 3.1 is the pipeline. A message handler is a program in which you can perform your own processing of Web service requests and responses. A pipeline is a set of message handlers that are executed in sequence.
A pipeline configuration file needs to be created by the CICS systems programmer to determine which message handlers should be invoked in a particular pipeline. It is an XML file that describes both the message handler programs and the SOAP header processing programs that CICS invokes when it processes the pipeline. The pipeline can be configured as either a service requester pipeline or service provider pipeline.
The PIPELINE resource definition is also required, which is used by CICS to handle the Web service request. It contains the name of the pipeline configuration and the location of the WSDL and wsbind files.
4. Message handlers for SOAP
CICS provides SOAP message handler programs to assist in the configuration of your pipeline as a SOAP node.
The CICS-provided SOAP message handlers can be configured to invoke one or more user-written SOAP header processing programs and to enforce the presence of particular headers in the SOAP message.
5. Web services resource definitions
The following resource definitions are all that is needed to configure support for Web services:
The application programming interface for these definitions follow the traditional invocations:
IBM-CICS Related Interview Questions
|VSAM Interview Questions||IBM - VSAM Interview Questions|
|IBM-REXX Interview Questions||JCL Interview Questions|
|IBM DB2 Interview Questions||COBOL Interview Questions|
|IBM-JCL Interview Questions||DB2 Using SQL Interview Questions|
|IBM-JCL&VSAM Interview Questions||IBM Mainframe Interview Questions|
|Mainframe DB2 Interview Questions|
Service-oriented Architecture And Cics
Cics As A Service Provider And Requester
Modern Web Services Development Tools
Development Of The Change Of Address Cics Application
Exposing Our Application As A Web Service
Developing Web Service Clients
Tracing The Change Of Address Scenario
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.