com.WebServiceEngine.SetFaultString

Defines the description of a SOAP Fault.

Syntax

com.WebServiceEngine.SetFaultString(
   desc STRING )
  1. desc is 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 with the appropriate error number.