Packagemx.rpc.soap
Classpublic class SOAPFault
InheritanceSOAPFault Inheritance Fault Inheritance Error

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

A subclass of mx.rpc.Fault that provides SOAP specific information from a SOAP envelope Fault element.



Public Properties
 PropertyDefined By
 Inheritedcontent : Object
The raw content of the fault (if available), such as an HTTP response body.
Fault
  detail : String
The detail property is the same as faultDetail but exists to match the case of the detail element in a SOAP Fault.
SOAPFault
  element : XML
The raw XML of this SOAP Fault.
SOAPFault
  faultactor : String
A SOAP Fault may provide information about who caused the fault through a faultactor property.
SOAPFault
  faultcode : QName
The faultcode property is similar to faultCode but exists to both match the case of the faultcode element in a SOAP Fault and to provide the fully qualified name of the code.
SOAPFault
 InheritedfaultCode : String
[read-only] A simple code describing the fault.
Fault
 InheritedfaultDetail : String
[read-only] Any extra details of the fault.
Fault
  faultstring : String
The faultstring property is the same as faultString but exists to match the case of the faultstring element in a SOAP envelope Fault.
SOAPFault
 InheritedfaultString : String
[read-only] Text description of the fault.
Fault
 InheritedrootCause : Object
The cause of the fault.
Fault
Public Methods
 MethodDefined By
  
SOAPFault(faultCode:QName, faultString:String, detail:String = null, element:XML = null, faultactor:String = null)
Constructs a new SOAPFault.
SOAPFault
  
toString():String
[override] Returns the String "SOAPFault" plus the faultCode, faultString, and faultDetail.
SOAPFault
Property Detail
detailproperty
detail:String

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The detail property is the same as faultDetail but exists to match the case of the detail element in a SOAP Fault.


Implementation
    public function get detail():String
    public function set detail(value:String):void

See also

elementproperty 
public var element:XML

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The raw XML of this SOAP Fault.

faultactorproperty 
public var faultactor:String

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

A SOAP Fault may provide information about who caused the fault through a faultactor property.

faultcodeproperty 
public var faultcode:QName

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The faultcode property is similar to faultCode but exists to both match the case of the faultcode element in a SOAP Fault and to provide the fully qualified name of the code.

See also

faultstringproperty 
faultstring:String

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

The faultstring property is the same as faultString but exists to match the case of the faultstring element in a SOAP envelope Fault.


Implementation
    public function get faultstring():String
    public function set faultstring(value:String):void

See also

Constructor Detail
SOAPFault()Constructor
public function SOAPFault(faultCode:QName, faultString:String, detail:String = null, element:XML = null, faultactor:String = null)

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Constructs a new SOAPFault.

Parameters
faultCode:QName — The fully qualified name of the fault code.
 
faultString:String — The description of the fault.
 
detail:String (default = null) — Any extra details of the fault.
 
element:XML (default = null) — The raw XML of the SOAP fault.
 
faultactor:String (default = null) — Information about who caused the SOAP fault.
Method Detail
toString()method
override public function toString():String

Language Version : ActionScript 3.0
Product Version : Flex 3
Runtime Versions : Flash Player 9, AIR 1.1

Returns the String "SOAPFault" plus the faultCode, faultString, and faultDetail.

Returns
String — Returns the String "SOAPFault" plus the faultCode, faultString, and faultDetail.