We use HTTPService for all of our server data calls. There were a few modifications we used. We use E4X for the data format, having the server side send all responses in XML. When a response is sent back from the server we have a success message that is stored in a status node.
So the client side checks a few things... A. Is the response empty. B. Does it contain the status node. C. Does it have any faults. If it fails to get a status it can assume an error. The Fault events have a "FaultEvent.fault.faultString" that can show some information about what happened and the " FaultEvent.message.headers.DSStatusCode" can sometimes return the exact server code. -Mark -----Original Message----- From: Dan Nailor [mailto:[email protected]] Sent: Tuesday, February 05, 2013 12:23 PM To: [email protected] Subject: HTTPService Response Headers Hello, I am looking to find out if there is anything in the works to allow the HTTPService response headers to be interrogated beyond successful and unsuccessful calls? From what I understand this is not possible with the current class and may be a limitation of some browsers. http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/rpc/http/HTTPService.html http://blogs.adobe.com/kiwi/2006/07/making_http_calls_in_actionscr.html (Response Headers) Thanks! Dan This transmission may contain information that is privileged, confidential, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format.
