Hi Sergey,

Thanks for the pointer on this. I changed the VersionTransformer to not set
the relationship type if default value and it works with .net.

Now the question is how to I submit this patch!?

Thanks,
 Adrian


Sergey Beryozkin wrote:
> 
> I'm not sure but may be it should be
> 
> http://www.w3.org/2005/08/addressing/reply ,
> 
> "
> /wsa:RelatesTo/@RelationshipType
> This OPTIONAL attribute (of type xs:anyURI) conveys the relationship type
> as an IRI. When absent, the implied value of this 
> attribute is "http://www.w3.org/2005/08/addressing/reply";.
> 
> "
> or better yet, it should be dropped altogether ? Perhaps modifying the cxf
> ws-addressing code can help to find the truth...
> 
> 
> It's somewhat orthogonal but a cxf response not look good with respect to
> namespaces... I thought it was discussed earlier, but not 
> sure if some work was done...
> 
> Namespace declarations should really go to soap:envelope, otherwise, if a
> message is large, then duplicate namespace declarations 
> will take up to 30% of the total message size. There's a number of ways to
> ensure that soap:envelope keeps all the ns 
> declarations...
> 
> Cheers, Sergey
> 
> ----- Original Message ----- 
> From: "Adrian C" <[EMAIL PROTECTED]>
> To: <cxf-user@incubator.apache.org>
> Sent: Thursday, November 15, 2007 3:06 PM
> Subject: .net ws-addressing & relationship type
> 
> 
>>
>>
>> if I use a .net client to consume my web service I am getting errors when
>> ws-addressing is used:
>> InnerException {"WSE205: RelationshipType attribute can only be of reply
>> type. The following value was found: reply."} System.Exception
>> {Microsoft.Web.Services3.Addressing.AddressingFormatException}
>>
>> seems to expect the RelationshipType attribute value to be different - i
>> don't get it!
>>
>> The soap header generated by cxf looks fine:
>> <soap:Header>
>> <MessageID
>> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing";>
>> urn:uuid:8504dd78-06aa-4c6b-b589-ad703ae19bbe
>> </MessageID>
>> <To xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing";>
>> http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous
>> </To>
>> <RelatesTo
>> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing";
>> RelationshipType="reply">
>> urn:uuid:b33fc856-dbae-4034-ac6f-e2d53b593722
>> </RelatesTo>
>> <Action
>> xmlns="http://schemas.xmlsoap.org/ws/2004/08/addressing";>
>> http://www.daon.com/ws/de/IdentityManagement/CreateIdentity
>> </Action>
>> </soap:Header>
>>
>> Get the feeling its expecting wsa:Reply as the attribute! Do anyone have
>> any
>> ideas what is going on?
>> -- 
>> View this message in context:
>> http://www.nabble.com/.net-ws-addressing---relationship-type-tf4812987.html#a13770286
>> Sent from the cxf-user mailing list archive at Nabble.com.
> 
> ----------------------------
> IONA Technologies PLC (registered in Ireland)
> Registered Number: 171387
> Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland
> 
> 

-- 
View this message in context: 
http://www.nabble.com/.net-ws-addressing---relationship-type-tf4812987.html#a13795319
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to