none
WCF serializing special characters on client vs server

    Question

  • If I have string "I like cats & dogs", it appears that WCF escapes this string when sending it (using SOAP) to "I like cats #&26; dogs".

    This causes the problem on the server because now my string exceeds their maximum length.   The only way I know how to address this is to wrap the text in CData tags.  I do not know if this is something that can be done in WCF.

    Is it possible to control this on the client side?  Or is this something that must be handled on the server side?

    Thursday, June 2, 2011 6:59 PM

Answers

All replies