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

Class SOAPEnvelope

source code


ElementTree based SOAP implementation

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_getHeader(self) source code
 
_setHeader(self, value) source code
 
_getBody(self) source code
 
_setBody(self, value) source code
 
create(self)
Create SOAP Envelope with header and body
source code
 
serialize(self)
Serialise element tree into string
source code
 
prettyPrint(self)
Basic pretty printing separating each element onto a new line
source code
 
parse(self, source)
Parse SOAP Envelope
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(SOAPEnvelopeBase.DEFAULT_ELEMENT_...

Inherited from SOAPEnvelopeBase: 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]
  header
SOAP header object
  body
SOAP body object

Inherited from SOAPEnvelopeBase: soapBody, soapHeader

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 SOAP Envelope with header and body

Overrides: SOAPObject.create

serialize(self)

source code 

Serialise element tree into string

Overrides: SOAPObject.serialize

prettyPrint(self)

source code 

Basic pretty printing separating each element onto a new line

Overrides: SOAPObject.prettyPrint

parse(self, source)

source code 

Parse SOAP Envelope

Overrides: SOAPObject.parse

Class Variable Details [hide private]

DEFAULT_ELEMENT_NAME

Value:
QName(SOAPEnvelopeBase.DEFAULT_ELEMENT_NS, tag= SOAPEnvelopeBase.DEFAU\
LT_ELEMENT_LOCAL_NAME, prefix= SOAPEnvelopeBase.DEFAULT_ELEMENT_NS_PRE\
FIX)

Property Details [hide private]

header

SOAP header object

Get Method:
_getHeader(self)
Set Method:
_setHeader(self, value)

body

SOAP body object

Get Method:
_getBody(self)
Set Method:
_setBody(self, value)