com.WebServiceEngine.SetFaultDetail

Defines the published SOAP Fault.

Syntax

com.WebServiceEngine.SetFaultDetail(
   fault STRING )
  1. fault is the published fault.

Usage

The com.WebServiceEngine.SetFaultDetail() class method defines the published SOAP Fault to be returned to the client when operation has finished, where fault is one of the published variables defined as Fault for that operation.

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.