For the life of me I can not find a way to remove the automatically generated portion of my Get method.
given following code
[WebGet(UriTemplate = "{id}", BodyStyle=WebMessageBodyStyle.Bare, ResponseFormat=WebMessageFormat.Xml)]
public string Get(string id) {
return "blah";
}
I get following response.
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">blah</string>
How can I get just "blah".
Many Thanks.