Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
SOAPFault

Package | mx.rpc.soap
Class | public class SOAPFault
Inheritance | SOAPFault Fault 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
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | content : 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
|  | faultCode : String [read-only] A simple code describing the fault. | Fault
|  | faultDetail : 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
|  | faultString : String [read-only] Text description of the fault. | Fault
|  | rootCause : Object The cause of the fault. | Fault

Public Methods

| Method | Defined 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

detail | property

`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

mx.rpc.Fault.faultDetail

element | property |

`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.

faultactor | property |

`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.

faultcode | property |

`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

mx.rpc.Fault.faultDetail

faultstring | property |

`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

mx.rpc.Fault.faultString
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.

Sun Mar 5 2017, 03:42 PM +11:00