|
startPrefixMapping
|
startPrefixMapping (
self,
prefix,
uri,
)
|
|
endPrefixMapping
|
endPrefixMapping ( self, prefix )
|
|
endElementNS
|
endElementNS (
self,
name,
qname,
)
Exceptions
|
|
Error, "SOAP-ENC:root must be `0' or `1'"
e
Error, "Non-local hrefs are not yet suppported."
Error, "non-root element must have an id"
Error, "duplicate id `%s'" % idval
Error, "didn't get SOAP-ENV:Body"
Error, "hrefs can't have data"
Error, "nils can't have data"
Error, "didn't get SOAP-ENV:Envelope"
|
|
|
convertType
|
convertType (
self,
d,
t,
attrs,
config=None,
)
|
|
startArray
|
startArray (
self,
name,
kind,
attrs,
elemsname,
)
Exceptions
|
|
Exception
AttributeError, "invalid Array type `%s'" % kind
AttributeError, "invalid Array offset"
|
|
|
pushFrame
|
pushFrame ( self, frame )
|
|
startElementNS
|
startElementNS (
self,
name,
qname,
attrs,
)
Exceptions
|
|
Error, "expected `SOAP-ENV:Header' or `SOAP-ENV:Body', " "got `%s'" % self._prem_r [name [ 0 ] ] + ':' + name [ 1 ]
Error, "expected `SOAP-ENV:Envelope', gto `%s:%s'" %(self._prem_r [name [ 0 ] ], name [ 1 ] )
Error, "expected `SOAP-ENV:Body', got `%s'" % self._prem_r [name [ 0 ] ] + ':' + name [ 1 ]
faultType, ("%s:VersionMismatch" % NS.ENV_T, "Don't understand version `%s' Envelope" % name [ 0 ] )
Error, "expected nothing, got `%s'" % self._prem_r [name [ 0 ] ] + ':' + name [ 1 ]
|
|
|
convertToSOAPpyTypes
|
convertToSOAPpyTypes (
self,
d,
t,
attrs,
config=None,
)
|
|
characters
|
characters ( self, c )
|
|
endDocument
|
endDocument ( self )
Exceptions
|
|
Error, "unresolved reference " + self._refs.keys() [ 0 ]
Error, "unresolved references " + ', '.join(self._refs.keys() )
|
|
|
convertToBasicTypes
|
convertToBasicTypes (
self,
d,
t,
attrs,
config=None,
)
Exceptions
|
|
OverflowError, "%s too large" % d
UnderflowError
UnknownTypeError, "unknown type `%s'" %(str(t [ 0 ] ) + ':' + t [ 1 ] )
Error, "unknown or missing binary encoding"
AttributeError, "invalid boolean value"
UnderflowError, "invalid %s: %s" %( t [ 1 ], s )
UnderflowError, "%s too small" % d
UnderflowError, "%s too small: %s" %( t [ 1 ], s )
OverflowError, "%s too large: %s" %( t [ 1 ], s )
OverflowError
ValueError, "invalid %s: %s" %( t [ 1 ], s )
|
|
|
convertDateTime
|
convertDateTime (
self,
value,
kind,
)
Exceptions
|
|
Error, "invalid %s value `%s' - %s" %( kind, value, e )
Exception
|
|
|
popFrame
|
popFrame ( self )
|
|
__init__
|
__init__ ( self, rules=None )
|
|