WebMethod Return xml
- by BabelFish
I keep reading how everyone states to return XmlDocument when you want to return XML. Is there a way to return raw XML as a string? I have used many web services (written by others) that return string and the string contains XML. If you return XmlDocument how is that method consumed by users that are not on .Net?
What is the method to just return the raw XML as string without it having being wrapped with <string></string>
Thanks!