The WebService class / com.WebServices methods |
Registers the function to be executed when a WSDL is generated.
The registerWSDLHandler() method registers a function to be called when the WSDL of the current Web Service object is generated.
FUNCTION myWSDLHandler( wsdl ) DEFINE wsdl xml.DomDocument ... RETURN wsdl END FUNCTION
The callback function typically modifies the content of the WSDL DOM document object passed as parameter.
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).