Groups | Blog | Home
all groups > dotnet web services enhancements > january 2005 >

dotnet web services enhancements : wsa:RelationshipType


Fraser
1/17/2005 4:59:02 AM
Today I tried to set the value of this attribute to a value for which my
organisation has defined semantics only to find that in WSE2 it appears to be
a Read Only property !

E.g.

env.Context.Addressing.RelatesTo.RelationshipType = "frg:someValue";

Last year I had a conversation with Hervey on this newsgroup about whether
it was legal to use other values for this attribute and he confirmed that it
was. Is there a way of getting WSE2 to accept my value ?

Dilip Krishnan
1/17/2005 6:20:44 AM
Hello Fraser,
You will need to create a relates to xml element with that attribute
and use the LoadXml method

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com

[quoted text, click to view]

Fraser
1/17/2005 2:59:02 PM
OK, thanks Dilip, but doesn't the SoapService implementation automatically
create the RelatesTo element when using the request/reply pattern. I suppose
I could add the attribute though ??. Pity you can't just use the property
provided on the object model :-(

Fraser.

[quoted text, click to view]
AddThis Social Bookmark Button