Here is the full setup of the interceptor in the bus:

<beans xmlns="http://www.springframework.org/schema/beans";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:cxf="http://cxf.apache.org/core";
        xsi:schemaLocation="
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd";>

        <import resource="classpath:META-INF/cxf/cxf.xml" />
        <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
        <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />

        <bean id="saajInInterceptor"
class="org.apache.cxf.binding.soap.saaj.SAAJInInterceptor" />

        <cxf:bus>
                <cxf:features>
                        <cxf:logging />
                </cxf:features>

                <cxf:inInterceptors>
                        <ref bean="saajInInterceptor" />
                        <ref bean="xmlInInterceptor" />
                </cxf:inInterceptors>
                
                <cxf:outInterceptors>
                        <ref bean="xmlOutInterceptor" />        
                </cxf:outInterceptors>
                
                <cxf:outFaultInterceptors>
                        <ref bean="exceptionInterceptor" />
                </cxf:outFaultInterceptors>
        </cxf:bus>

</beans>


--
View this message in context: 
http://cxf.547215.n5.nabble.com/Why-is-my-exception-interceptor-not-being-called-tp5464238p5468837.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to