I am not sure how to handle this. I have a web service that returns xml and everything was working well. I was making requests and getting the response. Apparently one function call streams binary data. I am not sure how to deal with this.
Here is my code:
XMLHTTP xmlHttp = new XMLHTTP();
xmlHttp.open("POST", queryString, false, _userId, _password);
"Accept image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */*");
apiResponse.XmlHeaders = xmlHttp.getAllResponseHeaders();
apiResponse.XmlResponse = xmlHttp.responseText;