Implementation of an EXCI call to a Web service requires an EXCI client program that calls a CICS program running as a Web service on an Enterprise Server for .NET region. The EXCI call itself can be done using the COMMAREA, or by using EXCI channels and containers.
For an example of a CICS program using a WSBIND file called with SOAP via EXCI, see the CicsSoap project under EXCI for .NET > EXCI SOAP in the Mainframe Samples Browser*.
To code a call to a Web service using SOAP, use a standard EXCI call with the following modifications:
The CICS program is called using the WSBIND file to convert the SOAP request into program data, and vice versa.
For an example that uses a COMMAREA, see the SoapClientCommarea project under EXCI for .NET > EXCI SOAP in the Mainframe Samples Browser*.
You can use the EXCI channels/containers support either for a standard EXCI call directly to a program with raw data, or for a Web service call. If calling a Web service:
For an example ASP.NET Web API project that uses AspNetExciClient, see the EXCI for .NET > EXCI ASP.NET SOAP Client sample in the Mainframe Samples Browser*.
* If you need instructions for opening the Mainframe Samples Browser, see To start the Samples Browser. |