Adds a fault to the current Web Operation definition.


   fault RECORD ,
   wsaaction STRING )
  1. fault defines the program variable defining the fault.
  2. wsaaction defines the type of action.


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 wsaaction 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).