Webservice parameter value encoding

Posted by dnolan on Stack Overflow See other posts from Stack Overflow or by dnolan
Published on 2010-04-22T07:31:52Z Indexed on 2010/04/22 7:33 UTC
Read the original article Hit count: 208

Filed under:
|
|

We have a webservice created in WCF and presenting itself as a basicHttpBinding. One of the parameters is a string which takes an xml string. Looking at the soap the client generates to send to the webservice, the xml is encoded, with all < and > swapped into < and >. My question is, is this all that is encoded, or has the parameter been run through HtmlEncode so that other entities would be swapped also?

The reason I ask is we are submitting with our client to a 3rd party webservice now and they would like to know the details on what is encoded.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about web-services