Writing a Web Services client application / WS client stubs and handlers |
More and more Web Services provide support of the different WS-* specifications. To enable a better interoperability with such services, the fglwsdl tool allows the programmer to modify the SOAP request before it is sent, and to perform additional verifications of the SOAP response before it is returned from the BDL function.
When option -domHandler is used, the fglwsdl tool performs the following two operations at once:
It generates the client stub based entirely on the DOM API to ease the manipulation of the XML requests and responses.
It generates additional calls for each operation of a service to execute one of the three callback handlers the programmer has to implement.