Hi there

I've created a proxy with the following approach:
        JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
        factory.setServiceClass(EncryptionInterfaceV10.class);
        factory.create();

I'd like to remove an interceptor for this proxy which is configured by default 
on the bus level (this feature registers interceptors)
        <cxf:bus>
                <cxf:features>
                        <ref bean="PMPFeature" />
                </cxf:features>
        </cxf:bus>

But I always get an empty interceptor list back:
        Client proxy = JaxWsClientProxy.getClient(myProxy);
        Iterator<Interceptor> ints = proxy.getOutInterceptors().iterator();

When I invoke a method on this proxy, the interceptor is called which I want to 
remove.

Are the interceptor on the bus level and on the proxy level managed separately?

Thanks
Oliver

Reply via email to