I have a WCF Ajax-Service hosted within a Web Application (.NET 4.0, C#). I can successfully call it and get a value back. The problem is my return value is encoded in JSON. I am trying to return a string of XML (GeoRSS technically) that I want to feed into the OpenLayers library. How can I get the WCF service to send the return value not in JSON?
Share
This answer here should be what you are looking for. Its in 3.5 but the implementation should be the same.