The Fault custom functions are useful in cases where partner services have not properly implemented their interfaces by declaring fault messages. Some WSDL operations do not declare a fault message, and when the service throws a fault, it cannot be caught in a normal way, by a catch or catchAll handler. Use these functions to catch undeclared faults. Use the functions within a process variable within an activity triggered by a catch or catchAll fault handler. For example: via an XPath expression
$soapFault/faultstring/text()
.
See example of a returned value below the following faults.