The WebOperation class / com.WebOperation methods |
Adds a fault to the current Web Operation definition.
addFault( fault fault-type, wsaaction STRING )
Adds a fault the Web Operation can throw during operation processing, where fault is any variable previously created as fault of the com.WebService object, and wsaction the WS-Addressing action identifier if WS-Addressing is supported. If WS-Addressing is not supported, pass NULL as second 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).