F
Francesco Leo
Guest
I am trying to add some tags to the Header of a SOAP request, but I cannot insert this tag:
<ReplyTo xmlns="WS-Addressing 1.0 Namespace">
<Address>Web Services Addressing URI</Address>
</ReplyTo>
I tried to insert it like this:
string cValue = "<Address>Web Services Addressing URI</Address>";
AddressHeader oReplyTo = AddressHeader.CreateAddressHeader("ReplyTo",
"WS-Addressing 1.0 Namespace",
cValue);
But I got this result:
<ReplyTo xmlns="WS-Addressing 1.0 Namespace"><Address>Web Services Addressing URI</Address></ReplyTo>
How can I do it correctly? Is there any other way besides AddressHeader.CreateAddressHeader?
Thanks for your help.
Continue reading...
<ReplyTo xmlns="WS-Addressing 1.0 Namespace">
<Address>Web Services Addressing URI</Address>
</ReplyTo>
I tried to insert it like this:
string cValue = "<Address>Web Services Addressing URI</Address>";
AddressHeader oReplyTo = AddressHeader.CreateAddressHeader("ReplyTo",
"WS-Addressing 1.0 Namespace",
cValue);
But I got this result:
<ReplyTo xmlns="WS-Addressing 1.0 Namespace"><Address>Web Services Addressing URI</Address></ReplyTo>
How can I do it correctly? Is there any other way besides AddressHeader.CreateAddressHeader?
Thanks for your help.
Continue reading...