On Thursday, November 10, 2011 7:58:05 AM Zhemzhitsky Sergey wrote:
> Hi there,
> 
> I'm using CXF 2.4.2 as a client for the .NET WCF Service which is configured
> to use 2004/08 version of WS-Addressing 
> (http://schemas.xmlsoap.org/ws/2004/08/addressing). As a rule CXF uses
> http://www.w3.org/2005/08/addressing by default.
 
> I know that CXF 2.4.2 WS-RM implementation uses transformation of
> WS-Addressing of version 2005/08 into 2004/08.
 
> So the question is whether it is possible to configure CXF to use
> http://schemas .xmlsoap.org/ws/2004/08/addressing version for WS-Addressing
> by default by means of interceptors or somehow else?

If using a proxy based client, I think you can do something like:

        AddressingPropertiesImpl maps
                 = new AddressingPropertiesImpl("http://schemas 
.xmlsoap.org/ws/2004/08/addressing");

        ((BindingProvider)port).getRequestContext()
            .put("javax.xml.ws.addressing.context", maps);

or similar.  


Dan


 
> 
> Best Regards,
> Sergey
> 
> _______________________________________________________
> 
> The information contained in this message may be privileged and conf
> idential and protected from disclosure. If you are not the original
> intended recipient, you are hereby notified that any review,
> retransmission, dissemination, or other use of, or taking of any action in
> reliance upon, this information is prohibited. If you have received this
> communication in error, please notify the sender immediately by replying to
> this message and delete it from your computer. Thank you for your
> cooperation. Troika Dialog, Russia. 
 If you need assistance please contact
> our Contact Center  (+7495) 258 0500 or go to
> www.troika.ru/eng/Contacts/system.wbp 
-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog
Talend - http://www.talend.com

Reply via email to