
32 z/TPF and WebSphere Application Server in a Service Oriented Architecture
5. Transfers control to the SOAP application handler:
The SOAP application handler is responsible for calling the application. It is discussed in
detail in 3.2, “SOAP application handler” on page 32.
If at any point in this process an error occurs, the SOAP handler invokes the SOAP fault
builder
2
to communicate the error information back to the SOAP client (Example 3-1).
Example 3-1 SOAP handler user exit cso2.c
1 #include <tpf/c_soap.h>
2 int CSO2(soapMsg* inputMsg, soapMsg* outputMsg, commsBinding* binding) {
3 return(TPF_CONTINUE_DO_TRANSLATE);
4}
3.2 SOAP application handler ...