
Chapter 6. z/TPF application as Web Service provider 107
6.5 Implement the z/TPF SOAP application handler
The source code for the SOAP application handler is shown in Example 6-8. It is very
straightforward, and in fact, all that happens is:
The SOAP client encoding is copied from the input SOAP message to the output SOAP
message.
If the HTTP SOAPAction happened to be getTime, the getTime application is invoked.
Or else an error is returned to the SOAP handler.
Example 6-8 SOAP application handler sample code
1 #include <tpf/gettime.hpp>
2 #include <tpf/c_soap.h>
3 #include <strings.h>
4 int CSO4(infoNodes** info, soapMsg* input, soapMsg* output, ...