Oh... shoot. Looking at the code, we just support:
http://schemas.xmlsoap.org/ws/2004/08/addressing
and
http://www.w3.org/2005/08/addressing
2004/03 isn't there. That's an ANCIENT version that none of the
recent stacks support (Axis2/Metro/CXF/XFire/etc...) Short of writing
an interceptor that would flip all the namespaces, I'm not sure what
to suggest. If you want to pursue adding support to CXF, you would
need to update the org.apache.cxf.ws.addressing.VersionTransformer
class. Probably take the 2004/03 xsd, generate types (like we do for
2004/08) and update the transformer to use it.
Dan
On Jul 23, 2008, at 11:42 AM, Maciej Kwiecien wrote:
Thanks for response - I tried your solution as well as passing
http://schemas.xmlsoap.org/ws/2004/03/addressing namespace in
AddressingPropertiesImpl constructor. In both cases my request does
not
contain WS-Addressing headers.
WS-Addressing headers are generated only for
http://www.w3.org/2005/08/addressing namespace.
Do you have any clue how to make it work (after all it seems to be a
simple
thing - only changing namespace - rest of things is the same)
Regards,
Maciek
On Wed, Jul 23, 2008 at 5:08 PM, Daniel Kulp <[EMAIL PROTECTED]>
wrote: do
If you cast the AddressingProperties object Freeman mentioned to an
AddressingPropertiesImpl, there is an "exposeAs(String)" method
that you can
use to set the namespace. I THINK that will work. Not 100%
sure though.
Dan
On Jul 23, 2008, at 9:55 AM, Maciej Kwiecien wrote:
Hello All,
I need to invoke web service that uses WS-Addressing with following
namespace
http://schemas.xmlsoap.org/ws/2004/03/addressing
Is it possible to use CXF with this WS-Addressing namespace?
How can it be done?
Any help will be appreciated.
Regards,
Maciek
---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog
---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog