The Web service server adapter is called DFHMASWS and runs under the CMAO transaction. For it to send outbound web service requests, a suitable PIPELINE and WEBSERVICE resource must be defined in the CICS region.
When this server adapter is invoked during request processing, the details of the Web service request and data are passed in BTS data-containers from the generated Adapter Navigator to DFHMASWS. DFHMASWS uses this data to send the Web service request by issuing the EXEC CICS INVOKE WEBSERVICE command. This request is processed in a requester mode pipeline, and sends a SOAP message to the designated Web service provider. The Web service provider could be on another CICS system or an external provider.
When a response message is received, the pipeline processes this and returns it to the Web service adapter in one or more containers. The Web service server adapter then passes the response message data back to the Adapter Navigator using a data-container.
This process is shown in the figure below.
The data-containers that are passed to DFHMASWS store the data that is specified by Service Flow Modeler when the web service request is modeled. The COMMAND.INPUT data-container contains the data to be sent to the Web service provider. The information regarding the target Web Service is stored in the WEBSERVICE.DATA data-container.
When a response is received from the Web service provider, DFHMASWS updates the WEBSERVICE.DATA data-container to specify whether the response was successful or if a SOAP fault was received.