Catching unexpected Soap Faults
Hi,
As per the documentation and a previous post, the following route is supposed to catch all faults:
<Route>
<Criteria> MESSAGE EQ 'Fault' AND MESSAGENS EQ 'http://www.w3.org/2003/05/soap-envelope' OR MESSAGE EQ 'Fault' AND MESSAGENS EQ 'http://schemas.xmlsoap.org/soap/envelope'</Criteria>
<Destination>IWSSoapSevice[http://schemas.xmlsoap.org/ws/2004/08/addressing/fault]</Destination>
</Route>
However, this does not happen and exceptions (as thrown by participant services)are never routed by CSF Session. But by using the following route, I am able to catch unexpected exceptions (as thrown by participant services):
<Route>
<Criteria>(ACTION EQ 'http://schemas.xmlsoap.org/ws/2004/08/addressing/fault')</Criteria>
<Destination>IWSSoapSevice[UnknownFault]</Destination>
</Route>
Has anyone seen this behavior? Can someone explain this?
Thanks,
Ashish Malhotra

