I have a web service that I need to return HTML code, and I can't seem
to get rid of the XML tags that surround it. Right now I'm just
writing the HTML into a return string, and am getting something like
this:
<?xml version="1.0" encoding="utf-8" ?>
<string xmlns="http://HTMLSERVICE.com"><html><h3>Loaded..</h3></html></string>
Ideally, I'd like to strip out the XML tags and be able to return just
<html><h3>Loaded..</h3></html>
to the browser. I've tried digging into the HTTP application handlers
(EndRequest etc), but I can't seem to find the correct location/event
to intercept the response before my service returns. Is there a way
to get this type of return from a web service method?