/ . / BuildStructure / SOAPpy / wstools / Utility.py / DOM
Methods
|
|
|
getAttrs
|
getAttrs ( self, node )
|
|
createDocument
|
createDocument (
self,
nsuri,
qname,
doctype=None,
)
|
|
getAttr
|
getAttr (
self,
node,
name,
nsuri=None,
default=None,
)
|
|
InstanceUriForSchemaUri
|
InstanceUriForSchemaUri ( self, uri )
|
|
GetWSDLSoapBindingUri
|
GetWSDLSoapBindingUri ( self, version )
Exceptions
|
|
ValueError( 'Unsupported WSDL version: %s' % version )
|
|
|
findTargetNS
|
findTargetNS ( self, node )
Exceptions
|
|
DOMException( 'Cannot determine target namespace.' )
|
|
|
GetSOAPEnvUri
|
GetSOAPEnvUri ( self, version )
Exceptions
|
|
ValueError( 'Unsupported SOAP version: %s' % version )
|
|
|
GetWSDLHttpBindingUri
|
GetWSDLHttpBindingUri ( self, version )
Exceptions
|
|
ValueError( 'Unsupported WSDL version: %s' % version )
|
|
|
getElement
|
getElement (
self,
node,
name,
nsuri=None,
default=None,
)
|
|
GetSOAPActorNextUri
|
GetSOAPActorNextUri ( self, version )
Exceptions
|
|
ValueError( 'Unsupported SOAP version: %s' % version )
|
|
|
WSDLUriToVersion
|
WSDLUriToVersion ( self, uri )
Exceptions
|
|
ValueError( 'Unsupported SOAP envelope uri: %s' % uri )
|
|
|
GetWSDLHttpTransportUri
|
GetWSDLHttpTransportUri ( self, version )
Exceptions
|
|
ValueError( 'Unsupported WSDL version: %s' % version )
|
|
|
getElementText
|
getElementText (
self,
node,
preserve_ws=None,
)
|
|
isElement
|
isElement (
self,
node,
name,
nsuri=None,
)
|
|
GetWSDLUri
|
GetWSDLUri ( self, version )
Exceptions
|
|
ValueError( 'Unsupported WSDL version: %s' % version )
|
|
|
importNode
|
importNode (
self,
document,
node,
deep=None,
)
Exceptions
|
|
DOMException( 'Illegal node type for importNode' )
|
|
|
loadDocument
|
loadDocument ( self, data )
|
|
SchemaUriForInstanceUri
|
SchemaUriForInstanceUri ( self, uri )
|
|
loadFromURL
|
loadFromURL ( self, url )
Exceptions
|
|
ParseError(( 'Failed to load document %s' % url, ) + ex.args )
|
|
|
GetWSDLMimeBindingUri
|
GetWSDLMimeBindingUri ( self, version )
Exceptions
|
|
ValueError( 'Unsupported WSDL version: %s' % version )
|
|
|
getMappingById
|
getMappingById (
self,
document,
depth=None,
element=None,
mapping=None,
level=None,
)
|
|
nsUriMatch
|
nsUriMatch (
self,
value,
wanted,
strict=None,
tt=None,
)
|
|
SOAPUriToVersion
|
SOAPUriToVersion ( self, uri )
Exceptions
|
|
ValueError( 'Unsupported SOAP envelope uri: %s' % uri )
|
|
|
findNamespaceURI
|
findNamespaceURI (
self,
prefix,
node,
)
Exceptions
|
|
DOMException( 'Value for prefix %s not found.' % prefix )
|
|
|
findDefaultNS
|
findDefaultNS ( self, node )
Exceptions
|
|
DOMException( 'Cannot determine default namespace.' )
|
|
|
getElementById
|
getElementById (
self,
node,
id,
default=None,
)
|
|
GetSOAPEncUri
|
GetSOAPEncUri ( self, version )
Exceptions
|
|
ValueError( 'Unsupported SOAP version: %s' % version )
|
|
|
getTypeRef
|
getTypeRef ( self, element )
|
|
getElements
|
getElements (
self,
node,
name,
nsuri=None,
)
|
|
hasAttr
|
hasAttr (
self,
node,
name,
nsuri=None,
)
|
|
|