Quantcast
Channel: WCF, ASMX and other Web Services
Viewing all articles
Browse latest Browse all 555

Cannot remove escape characters from SOAP message

$
0
0

I have tried several different routines to serialize my XML and each time, after converting to string I get a series of escape characters that are causing problems when POSTing this message to the endpoint.

<Envelope xmlns=\"http://schemas.xmlsoap.org/soap/envelope/\">

<Body>

<GetMyData xmlns=\"stuff\">

I have tried Replace I have tried RegEx.Unescape and I cannot remove these escapes. When I run this XML either from code (HttpWebRequest) or from SOAPui with the escapes it fails with a 500. If I remove the escapes it works fine. Any help is appreciated.


Viewing all articles
Browse latest Browse all 555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>