cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Karlsen <>
Subject Configure interceptors only for serverside services?
Date Tue, 14 Jun 2011 17:40:09 GMT

We use cxf both as a client calling others as well as providing server-side
services in the same application.
For the server side services we have a custom interceptor - this is however
picked up by our client as well.

The client config is (in a separate spring context file):
    <http:conduit name="*.http-conduit">
            AllowChunking="${directdebiting.bwi.allowChunking:false}" />

    <jaxws:client id="ourWsClient"
            <entry key="schema-validation-enabled"
value="${ourClient.schemaValidation:false}" />

The serverside is in the standard cxf-servlet.xml config:
            <cxf:logging />
            <ref bean="responseTimeFeature" />
            <ref bean="contextHandlerInterceptor" />
<bean id="responseTimeFeature"
        class="" />

    <bean id="CounterRepository"
        <property name="bus" ref="cxf" />

 <!--and then a lot of jaxws:endpoint implementor=...." services as usual.

How can I avoid the interceptor to be picked up by the client?

David J. M. Karlsen -

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message