I have a .net webservice that returns a string, I want the string representation returned bare and not wrapped up as xml. for example:
[WebMethod]
public string Enroll()
{
return "You are welcome";
}
The response I get is:
<?xml version="1.0" encoding="utf-8" ?>
<string xmlns="http://somenamespace/">
You are welcome
</string>
The response I prefer to get is simply:
You are welcome
How can I get this to happen without resorting to using a generic handler?