I want to prepend the following text to the response body of a WCF operation:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="transform.xslt" type="text/xsl" ?>
Problem is that the Message class uses XML Readers and Writers to specify the contents of the message. Inserting this text as the first line after the tag makes the Message not well formatted.
So where does the Message object get read and the body contents written to the HTTP response stream? That is where I want to insert the two lines above.