B64 String Being Stripped From HttpService JSON Object Flex 4.0
- by user163757
I am trying to decode some b64 images obtained from a web service in my Flex application. The response of this web service is a basic JSON object, with a property (B64Image) that contains the encoded string. The service works fine from my regular browser, however the b64
string gets stripped. So the object the result handler gets has a null value for B64Image. Anyone see something wrong here?
EXPECTED OUTPUT
{
"PropertyPhotos": [
{
"B64Image": "/9j/4AAQSkZJRgABAQEAYABgAAD....etc"
}
]
}
<s:HTTPService id="photoService"
url="http://localhost/dev/photohandler.ashx"
resultFormat="text"
result="photoService_resultHandler(event)"
fault="photoService_faultHandler(event)">
</s:HTTPService>