Hi, There are some options to do that: a) You can add features into client factory: JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean(); factory.setAddress("http://acme.come/some-service"); factory.getFeatures().add(new WSAddressingFeature()); MyService client = (MyService) factory.create(MyService.class);
b) You can activate WS-Addressing using policy: http://cxf.apache.org/docs/ws-addressing.html c) You can manually add WS-Addressing interceptors, in the same way as WSAddressingFeature does that. Regards, Andrei. > -----Original Message----- > From: Manu [mailto:mekt...@gmail.com] > Sent: Montag, 10. November 2014 16:31 > To: users@cxf.apache.org > Subject: Activating WS-Addressing dynamically on selected service > > Hi, > > Is there a way (some class I can extend) to activate ws-adressing dynamically > without configuring it int the spring configuration file. > We want to be able to activate asynchronous execution based on some > conditions. > > I've tried to create a feature and override public void initialize(Client > client, Bus > bus) but this method is not called when creating a client ... > > Does anyone have an idea ? > Thanks > Manuel