Ben, the problem lies in the browser, in that when it recieves an error
response code (200?), it does not pass the full exception to the Flash
Player.

 

Some workarounds include forcing the server to return a different code.
There will be more detail in the archives.

 

My strategy is to handle all errors on the server, and pass them back to
Flex as an xml string.  So only hard, network communication errors ever
get to the Flex client.

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Ben Marchbanks
Sent: Tuesday, October 16, 2007 8:33 AM
To: [email protected]
Subject: [flexcoders] Capture literal HTTPservice error returned from
server

 

I would like to capture the literal error message returned from a
server when making an HTTPservice request with resultFormat = "e4x".

Using "fault" allows me to handle the error gracefully - say when the
result is not proper XML. But I would like to view the full error
message from the server, for example, if there's a SQL statement error
etc......

I realize I can switch the resultFormat to "text" but this is a real
pain to switch back and forth during testing.

 

Reply via email to