The WebService class / com.WebServices methods |
Registers the function to be executed just before the SOAP response is forwarded to the client.
The registerOutputRequestHandler() method registers a function to be called just after the SOAP engine has processed the request and before the SOAP response is forwarded to the client.
FUNCTION myRequestOutputHandler( out ) DEFINE out xml.DomDocument ... RETURN out END FUNCTION
The output callback function typically modifies the content of the SOAP output request DOM document object passed as parameter.
If NULL was returned from the input callback function, the output callback function will be called with the default SOAP fault node.
In case of error, the method throws an exception and sets the STATUS variable. Depending on the error, a human-readable description of the problem is available in the SQLCA.SQLERRM register. See Error handling in GWS calls (STATUS).