.NET Web Service Proxy is adding special characters in XML

Posted by xkingpin on Stack Overflow See other posts from Stack Overflow or by xkingpin
Published on 2010-05-25T14:58:10Z Indexed on 2010/05/25 15:01 UTC
Read the original article Hit count: 242

Filed under:
|
|

My web service proxy seems to be adding special characters like "*" and "#" etc. within the xml nodes.

My proxy created lists using arrays of objects. I am trying to create a generic list and then doing list.ToArray() to set the proxy MyProxyObject[] object. Is this the cause of the problem I am having? I plan on running fiddler on the request later but it is over SSL and I do not have access to the URL at the moment.

Here is an example of the XML that is generated:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"     xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  * 
  <soap:Body>
  o 

I'm a little concerned because the special characters are even occuring before the array nodes

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET