You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Andrea Smyth <an...@iona.com> on 2007/05/22 20:07:08 UTC

Addressing namespace in soap header elements

I am seeing the addressing namespace being encoded twice now,  as in the 
following message

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<MessageID xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing" 
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">urn:uuid:7b640bcc-d39b-4fef-bd5d-3d1cbf5e5ee2</MessageID>
<To xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing" 
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://localhost:9020/SoapContext/GreeterPort</To>
<ReplyTo xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing" 
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
<Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/none</Address>
</ReplyTo>
<wsrm:Sequence 
xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing" 
xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm">
<wsrm:Identifier>urn:uuid:87a561cc-036d-4549-9bfc-32924d351646</wsrm:Identifier>
<wsrm:MessageNumber>1</wsrm:MessageNumber>
</wsrm:Sequence>
</soap:Header>
<soap:Body>
<greetMeOneWay xmlns:ns2="http://www.w3.org/2005/08/addressing/wsdl" 
xmlns="http://cxf.apache.org/greeter_control/types"><requestType>CXF</requestType></greetMeOneWay>
</soap:Body>
</soap:Envelope>

What has caused this change and is it intentional?

Andrea.

RE: Addressing namespace in soap header elements

Posted by "Glynn, Eoghan" <eo...@iona.com>.
It's not intentional ... I'd suspect its fall-out from the recent SOAP
Header refactoring.

Ulhas is obviously on vacation at the moment, but I can have a look into
it tomorrow.

/Eoghan

> -----Original Message-----
> From: Andrea Smyth [mailto:andrea.smyth@iona.com] 
> Sent: 22 May 2007 19:07
> To: cxf-dev@incubator.apache.org
> Subject: Addressing namespace in soap header elements
> 
> I am seeing the addressing namespace being encoded twice now, 
>  as in the following message
> 
> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
> <soap:Header>
> <MessageID xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing" 
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">u
> rn:uuid:7b640bcc-d39b-4fef-bd5d-3d1cbf5e5ee2</MessageID>
> <To xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing" 
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">h
> ttp://localhost:9020/SoapContext/GreeterPort</To>
> <ReplyTo xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing" 
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
> <Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/none
> </Address>
> </ReplyTo>
> <wsrm:Sequence
> xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/08/addressing" 
> xmlns:wsrm="http://schemas.xmlsoap.org/ws/2005/02/rm">
> <wsrm:Identifier>urn:uuid:87a561cc-036d-4549-9bfc-32924d351646
> </wsrm:Identifier>
> <wsrm:MessageNumber>1</wsrm:MessageNumber>
> </wsrm:Sequence>
> </soap:Header>
> <soap:Body>
> <greetMeOneWay xmlns:ns2="http://www.w3.org/2005/08/addressing/wsdl" 
> xmlns="http://cxf.apache.org/greeter_control/types"><requestTy
> pe>CXF</requestType></greetMeOneWay>
> </soap:Body>
> </soap:Envelope>
> 
> What has caused this change and is it intentional?
> 
> Andrea.
>