How to Get Fault Details with the getFaultAsString XPath Extension Function
The following example shows how to use this function.
<catchAll>
<sequence>
<assign>
<from expression="bpelx:getFaultAsString()"/>
<to variable="faultVar" part="message"/>
</assign>
<reply faultName="ns1:myFault" variable="faultVar" .../>
</sequence>
</catchAll>
For more information, see getFaultAsString.