Hi,
I am developing a REST WCF Web Service using the webHttpBinding. This service is supposed to receive a parameter through HTTP POST and return a byte array (byte[]). However whenever I call the service I get the following respose:
<base64Binary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">AQEBAAEAFFBBAPQ=</base64Binary>
Is there a way to configure my service so that it will return only the byte array without the XML tags and without being encoded on base 64? For example it should return something like 6232991110 instead of the content above.
Thanks,
Komyg