The generated callback handlers

Understand the function of callback handlers, and how to generate them in your client stub.

More and more Web services provide support for 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.