The WebServiceEngine class / com.WebServiceEngine methods |
Get a handle for an incoming HTTP service request.
com.WebServiceEngine.SetFaultCode( code STRING, code_ns STRING )
The com.WebServiceEngine.SetFaultCode() class method defines a user SOAP Fault code to be returned to the client, where code is the mandatory SOAP Fault code and code_ns is the mandatory code namespace.
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).