We have a Web Service that returns an XML string. The client is getting the
returned value with the angle brackets changed to > and <.
It looks like the 'payload' is HTML.encoded. Is that the default action of
a web service?
Is that spec'ed somewhere and can it be changed?
I suspose the client s/w just needs to HTML.unencode() it.
TIA
geo
>We have a Web Service that returns an XML string. The client is getting the
>returned value with the angle brackets changed to > and <.
[quoted text clipped - 8 lines]
>TIA
>geo
I return xml as strings from web services with no problems. I assume
that the webservice itself is changing the string.
-Adam
Hi Geo,
How did you send the XML string from your web service, with a string or
XMLNode object? Can you give a sample on this. Normally, we can pass a
XMLNode or XMLDocument object from a web service, and this won't cause such
a problem. For other objects, there may be some > and < during Web
service XML encoding.
Luke
DotNetGruven - 30 Jun 2004 19:48 GMT
Changing the return value of the web method from string to XmlDocument fixed
the problem.
Not only that, but the returned characters are nicely formated with great
indentation.
Thanks,
Geo
> Hi Geo,
>
[quoted text clipped - 5 lines]
>
> Luke