Re: Return SOAP Fault in CXF Interceptor

2014-06-25 Thread Daniel Kulp
On Jun 25, 2014, at 12:44 PM, Frizz wrote: > I have a custom interceptor. In case the SoapMessage is an Exception, I'd > like to skip all my other interceptors and return a SOAP Fault. Where in the chain is your interceptor? If it’s on the incoming chain, just throw a org.apache.cxf.intercep

Re: Return SOAP Fault in CXF Interceptor

2014-06-25 Thread neela
tor = chainIterator.next(); chain.remove( interceptor ); } -- View this message in context: http://cxf.547215.n5.nabble.com/Return-SOAP-Fault-in-CXF-Interceptor-tp5745578p5745582.html Sent from the cxf-user mailing list archive at Nabble.com.

Return SOAP Fault in CXF Interceptor

2014-06-25 Thread Frizz
I have a custom interceptor. In case the SoapMessage is an Exception, I'd like to skip all my other interceptors and return a SOAP Fault. public void handleMessage(SoapMessage message) ... if (message.getContent(Exception.class)!=null) { skip other interceptors and return SOAP Fault } ... Is