SoapFault Class Reference

Inherits from NSObject*

Properties

For more about Objective-C properties, see “Properties” in The Objective-C Programming Language.

faultCode

Returns the fault code.

@property (retain, nonatomic) NSString* faultCode

faultString

The string containing a message about the fault.

@property (retain, nonatomic) NSString* faultString

faultActor

The actor that triggered the fault.

@property (retain, nonatomic) NSString* faultActor

detail

Details about the fault.

@property (retain, nonatomic) NSString* detail

hasFault

Used internally to determine if a fault was found in the passed node.

@property BOOL hasFault

Class methods

faultWithData:

Creates a SoapFault object from NSMutableData*.

+ (SoapFault*) faultWithData: (NSMutableData*) data

Parameters

data
The data used to create a SoapFault.

faultWithXMLDocument:

Creates a SoapFault object from CXMLDocument*.

+ (SoapFault*) faultWithXMLDocument: (CXMLDocument*) document

Parameters

document
The document used to create a SoapFault.

faultWithXMLElement:

Creates a SoapFault object from CXMLNode*.

+ (SoapFault*) faultWithXMLElement: (CXMLNode*) element

Parameters

element
The element used to create a SoapFault.