On Thursday, November 17, 2011 2:50:57 PM David Karlsen wrote: > Hi. > > I want to be able to detect all incoming or outgoing Faults. > I've tried to create an SoapInterceptor and implement > public void handleFault( SoapMessage message ) > > which has been registered as an inFaultInterceptor in phase > Phase.USER_PROTOCOL and outFaultInterceptor in phase Phase.SEND after the > Soap11FaultOutInterceptor > > but no-go. > > Any pointers?
If you are on the fault chain already, it's likely just using the handleMessage(...) call. The handleFault is only called when unwinding the current chain when an exception occurred on that chain. Dan > > Is it possible to subscribe to Fault events directly from CXF - or do > I have to get my approach above working? > > -- > David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
