Hi, If you wanna TestInterceptor get invoked after the serviceimpl method is called, it should use Phase.POST_INVOKE phase. ------------- Freeman(Yue) Fang
Red Hat, Inc. FuseSource is now part of Red Hat Web: http://fusesource.com | http://www.redhat.com/ Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: @Freeman小屋 On 2013-4-30, at 上午3:36, remo408 wrote: > Handle Message for interceptor getting called after the service method is > called > > <jaxws:endpoint id="service" implementor="#testServiceimpl" > address="/testService"> > <jaxws:inInterceptors> > <bean id="test" > class="org.example.Test"/> > </jaxws:inInterceptors> > </jaxws:endpoint> > > public class TestInterceptor extends AbstractSoapInterceptor { > > public TestInterceptor() { > super(Phase.INVOKE); > } > > @Override > public void handleMessage(SoapMessage message) throws Fault { > System.out.println("Test"); > } > } > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Handle-Message-for-interceptor-getting-called-after-the-service-method-is-called-tp5726932.html > Sent from the cxf-user mailing list archive at Nabble.com.
