The problem you are seeing is by design. A webservice communications via XML
over HTTP. Therefore, if the data you are sending is also XML, and no
changes were made to the data, the webservice would not be-able to
destinguish the Webservice XML from the dataXML and the it would not work.
Therefore, everything you send to the webservice must first be encoded. You
can use the built in System.Web.Http Utility.UrlEnco de function to encode
your data before sending.
"anonymous" <an*******@devd ex.com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
Hi,
I'am sending an xml string to a web service(which is written in c#)
using the microsoft web services behavior.
When I check this string from the web service I observed that some of
the charaters have been replaced.
e.g "<" is replaced with "%3C", ">" is replaced with "%3E"
characters lik =," are replaced too.
can anybody explain the reason for this and give a solution
Thanks
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!