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 str contains the description of
the fault.
This method must be called inside a Web Service function.
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).