Thanks to both of you. It helped. Actually I was using outinterceptor instead of outFaultInterceptors. My mistake.
sur04sep wrote: > > Hi, > I need to send custom error codes for all kind of exceptions(even run time > exception). > For this I wrote a OutInterceptor extending AbstractSoapInterceptor with > super(Phase.MARSHAL) constructor. > But control is not going to this interceptor in case of any run time > exception. Only in case of successful processing control is coming to this > interceptor. > I have overridden both handleMessage and handleFault methods. > What I could be doing wrong? > And what is the correct approach to handle exception? > > Regards, > seshu > -- View this message in context: http://old.nabble.com/Exception-handling-tp28743320p28751252.html Sent from the cxf-user mailing list archive at Nabble.com.
