XML Encoded When Passed to a Web Service
Posted on 2002-07-01
I am having some trouble with a web service. I have a VB6 client app posting data to a web service. One of the parameters that the web method takes is some XML data. The problem I am having is that when the data gets to the web service it has been encoded and can no long be recognized as XML. So my XML changes from <test>data</test> to <test>data</test>
I used "string" as the data type of the parameter and I am wondering if this is the reason that the XML gets encoded.
If I switch to "XmlNode" as the data type will it solve my problem?
Can XmlNode support child nodes such as <test><subtest>data</subtest></test> or will it only work for a single node?
Is there anyway I can solve this problem without changing the data type of the parameter?
I have tried having the client send the data via HTTP POST and SOAP with no change in the result.
Thanks for your help in advance!