com.WebServiceEngine.SetFaultString
Defines the description of a SOAP Fault.
Syntax
com.WebServiceEngine.SetFaultString(
str STRING )
- str defines the description of the fault.
Usage
The com.WebServiceEngine.SetFaultString()
class method defines a user SOAP Fault
description to be returned to the client, where desc contains the description of
the fault.
This method must be called inside a Web Service operation.
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).