On 10/12/12 19:39, Ivan.Latysh wrote:
Bus config should read:
[bus]
<cxf:bus>
<cxf:inInterceptors>
<ref bean="logInbound"/>
<ref bean="faultInInterceptor"/>
</cxf:inInterceptors>
<cxf:outInterceptors>
<ref bean="logOutbound"/>
<ref bean="faultOutInterceptor"/>
</cxf:outInterceptors>
</cxf:bus>
[/bus]
<cxf:outFaultInterceptors>
<ref bean="faultOutInterceptor"/>
</cxf:outFaultInterceptors>
should do it.
Let me know if it works please.
By the way, I think CXF JAX-RS should ship a utility out fault
interceptor which will let use the exception mappers to convert the
escaped exceptions too, I'll look into it later
Cheers, Sergey
--
View this message in context:
http://cxf.547215.n5.nabble.com/Intercepting-exceptions-on-the-server-side-tp5719964p5719996.html
Sent from the cxf-user mailing list archive at Nabble.com.