I have a web service which returns the following:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetImageResponse xmlns="http://someserver.com/">
<GetImageResult>
<xsd:schema>schema</xsd:schema>xml</GetImageResult>
</GetImageResponse>
</soap:Body>
</soap:Envelope>
This means I recieve an xml document with UTF-8 encoded
characters. What they actually are, are TIFF files that
have been stored in a sql server database.
My application calls the web service which inturn recieves
this xml data.
My question is, how do you translate it to ascii
characters. In otherwords I'm trying to write out the
contents of the image (TIFF file) - in effect allowing the
user to view the image (TIFF file) through their browser.
Any clues how to do so?