The WebService class / com.WebServices methods |
Registers the function to be executed on incoming SOAP requests.
The registerInputRequestHandler() method registers a function to be called when an incoming SOAP request is received and before the SOAP engine has processed it.
FUNCTION myRequestInputHandler( in ) DEFINE in xml.DomDocument ... RETURN in END FUNCTION
The input callback function typically modifies the content of the SOAP input request DOM document object passed as parameter.
When returning NULL from the input callback function, the output callback function will be called with the default SOAP fault node, which can then be modified.
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).