Package ndg :: Package soap :: Module etree :: Class SOAPBody
[hide private]

Class SOAPBody

source code


ElementTree based implementation for SOAP Body object

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_getFault(self) source code
 
_setFault(self, value) source code
 
create(self)
Create header ElementTree element
source code
 
serialize(self)
Serialise element tree into string
source code
 
parse(self, source)
This method ONLY parses a SOAPFault IF one is found
source code
 
prettyPrint(self)
Basic pretty printing separating each element on to a new line
source code

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

Class Methods [hide private]

Inherited from ETreeSOAPExtensions (private): _prettyPrint

Static Methods [hide private]

Inherited from ETreeSOAPExtensions (private): _parse, _serialize

Class Variables [hide private]
  DEFAULT_ELEMENT_NAME = QName(SOAPBodyBase.DEFAULT_ELEMENT_NS, ...

Inherited from SOAPBodyBase: DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NS, DEFAULT_ELEMENT_NS_PREFIX

Inherited from SOAPObject: DEFAULT_NS, ELEMENT_PREFIX, SOAP11_NS, SOAP12_NS

Properties [hide private]
  hasSOAPFault
Boolean True if this SOAP BOdy contains a SOAPFault instance
  fault
SOAP Fault

Inherited from ETreeSOAPExtensions: elem, qname

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

create(self)

source code 

Create header ElementTree element

Overrides: SOAPObject.create

serialize(self)

source code 

Serialise element tree into string

Overrides: SOAPObject.serialize

parse(self, source)

source code 

This method ONLY parses a SOAPFault IF one is found

Overrides: SOAPObject.parse

prettyPrint(self)

source code 

Basic pretty printing separating each element on to a new line

Overrides: SOAPObject.prettyPrint

Class Variable Details [hide private]

DEFAULT_ELEMENT_NAME

Value:
QName(SOAPBodyBase.DEFAULT_ELEMENT_NS, tag= SOAPBodyBase.DEFAULT_ELEME\
NT_LOCAL_NAME, prefix= SOAPBodyBase.DEFAULT_ELEMENT_NS_PREFIX)

Property Details [hide private]

hasSOAPFault

Boolean True if this SOAP BOdy contains a SOAPFault instance

Get Method:
unreachable.hasSOAPFault(self) - Boolean True if this SOAP BOdy contains a SOAPFault instance

fault

SOAP Fault

Get Method:
_getFault(self)
Set Method:
_setFault(self, value)