Package ndg :: Package soap :: Class SOAPFaultBase
[hide private]

Class SOAPFaultBase

source code


SOAP Fault

Instance Methods [hide private]
 
__init__(self, faultString=None, faultCode=None, faultActor=None, detail=None)
Initialise attributes
source code
 
_setFaultCode(self, value) source code
 
_getFaultCode(self) source code
 
_setFaultString(self, value) source code
 
_getFaultString(self) source code
 
_getFaultActor(self) source code
 
_setFaultActor(self, value) source code
 
_getDetail(self) source code
 
_setDetail(self, value)
No type checking - detail could be an XML element or serialised string content
source code

Inherited from SOAPObject: create, parse, prettyPrint, serialize

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  DEFAULT_ELEMENT_LOCAL_NAME = 'Fault'
  DEFAULT_ELEMENT_NS = 'http://schemas.xmlsoap.org/soap/envelope/'
  DEFAULT_ELEMENT_NS_PREFIX = 'soap11'
  FAULT_CODE_ELEMENT_LOCAL_NAME = 'faultcode'
  FAULT_STRING_ELEMENT_LOCAL_NAME = 'faultstring'
  FAULT_ACTOR_ELEMENT_LOCAL_NAME = 'faultactor'
  DETAIL_ELEMENT_LOCAL_NAME = 'detail'
  VERSION_MISMATCH_CODE = 'VersionMismatch'
  MUST_UNDERSTAND_FAULT_CODE = 'MustUnderstand'
  CLIENT_FAULT_CODE = 'Client'
  SERVER_FAULT_CODE = 'Server'
  FAULT_CODES = ('VersionMismatch', 'MustUnderstand', 'Client', ...

Inherited from SOAPObject: DEFAULT_NS, ELEMENT_PREFIX, SOAP11_NS, SOAP12_NS

Properties [hide private]
  faultCode
Fault Code
  faultString
Fault String
  faultActor
Fault Actor
  detail
Fault detail
  __detail
  __faultActor
  __faultCode
  __faultString

Inherited from object: __class__

Method Details [hide private]

__init__(self, faultString=None, faultCode=None, faultActor=None, detail=None)
(Constructor)

source code 

Initialise attributes

Overrides: object.__init__

Class Variable Details [hide private]

FAULT_CODES

Value:
('VersionMismatch', 'MustUnderstand', 'Client', 'Server')

Property Details [hide private]

faultCode

Fault Code

Get Method:
_getFaultCode(self)
Set Method:
_setFaultCode(self, value)

faultString

Fault String

Get Method:
_getFaultString(self)
Set Method:
_setFaultString(self, value)

faultActor

Fault Actor

Get Method:
_getFaultActor(self)
Set Method:
_setFaultActor(self, value)

detail

Fault detail

Get Method:
_getDetail(self)
Set Method:
_setDetail(self, value) - No type checking - detail could be an XML element or serialised string content