SOAPFaultBuild is available since version 1.0.
Prototype:
number SOAPFaultBuild(number faultCode, string faultString, string faultActor, string detail)
Parameters
faultCode
[in] the fault code
faultString
[in] a fault message
faultActor
[in] a fault actor
detail
[in] the detail on the error
Description:
Build a SOAP fault XML node.
Return value:
Return an XML node containing the fault, or null if failed.