1 Reply Latest reply on Dec 6, 2007 6:06 PM by ntsiii

    Handling SOAP faults in Flex 2

    totallyuniquescreenname
      i want to capture a soap fault from my .NET web service in my flex 2 client app. i found this code sample but it seems to be for flex 3 (it fails to compile when i try to use it - but maybe i am just not using it correctly?)

      if (event.fault is SOAPFault) {
      var fault:SOAPFault=event.fault as SOAPFault;
      var faultElement:XML=fault.element;
      ...
      }