You can't get the fault without the proxy. This is a limitation of the flash player 8.0 and earlier.  A web service fault returns an http 500 and this http status code causes the player to stop receiving data.  The proxy gets around this by changing the status code to 200.  As a note, this is fixed in Flex 2.0 and FP 8.5.
 

Carson
 
____________________________________________
 
Carson Hager
Cynergy Systems, Inc.
http://www.cynergysystems.com
 
Email:  [EMAIL PROTECTED]
Office:  866-CYNERGY
Mobile: 1.703.489.6466
 
 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Pablo Apanasionek
Sent: Monday, March 27, 2006 11:52 AM
To: [email protected]
Subject: [flexcoders] Flex 1.5 :: Webservice Fault and useProxy setting

Hi all.
 
I'm having some trouble getting the fault detail from a Webservice call, using Flex 1.5, Axis-compiled service and the useProxy=false setting. With the proxy setting "on", the exception raises in the fault event and the detail of it can be found on the faultstring property. While "off", it only shows "unable to connect to endpoint http://..... etc." .
 
Any clue on this one? How could I get the exception using useProxy=false?
 
Thanks in advance!
-Pablo Gustavo Apanasionek


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to