You can not capture the message in fault event until the service call fails. As long as the service call is getting completed successfully, the result event will be dispatched not the fault event.
-Ravi On May 25, 10:48 am, [email protected] wrote: > Hi to All, > > <mx:HTTPService id="hs" resultFormat="e4x" result="hs_res(event)" > fault="hs_fault(event)" url="http://myIP:8080/abc"/> > > public function hs_res(event:ResultEvent):void > { > > } > > public function hs_fault(event:FaultEvent):void > { > > } > > while invoking this URL in web browser i will get Error Message (ie) > Primary key Violation , i want to capture this Error messge in FaultEvent > > Is it possible to capture this error message in FaultEvent > > Plz Help me > > Thanks in Advance > > Regards > Natarajan V --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

