Package suds :: Module wsdl :: Class Binding
[hide private]
[frames] | no frames]

Class Binding

source code

sudsobject.Object --+        
                    |        
              WObject --+    
                        |    
              NamedObject --+
                            |
                           Binding

Represents <binding/>

Instance Methods [hide private]
 
__init__(self, root, definitions) source code
 
soaproot(self)
get the soap:binding
source code
 
add_operations(self, root, definitions)
Add <operation/> children
source code
 
body(self, definitions, body, root)
add the input/output body properties
source code
 
header(self, definitions, parent, root)
add the input/output header properties
source code
 
resolve(self, definitions)
Resolve named references to other WSDL objects.
source code
 
resolveport(self, definitions)
Resolve port_type reference.
source code
 
resolvesoapbody(self, definitions, op)
Resolve soap body message parts by cross-referencing with operation defined in port type.
source code
 
resolveheaders(self, definitions, op)
Resolve soap header message references.
source code
 
resolvefaults(self, definitions, op)
Resolve soap fault message references by cross-referencing with operation defined in port type.
source code
Operation @raise MethodNotFound: When not found.
operation(self, name)
Shortcut used to get a contained operation by name.
source code
 
__gt__(self, other) source code

Inherited from sudsobject.Object: __contains__, __delattr__, __getitem__, __iter__, __len__, __repr__, __setattr__, __setitem__, __str__, __unicode__

Instance Variables [hide private]
list operations
A list of contained operations.

Inherited from NamedObject: name, qname

Inherited from WObject: root

Method Details [hide private]

__init__(self, root, definitions)
(Constructor)

source code 
Parameters:
Overrides: sudsobject.Object.__init__

resolve(self, definitions)

source code 

Resolve named references to other WSDL objects. This includes cross-linking information (from) the portType (to) the soap protocol information on the binding for each operation.

Parameters:
Overrides: WObject.resolve

resolveport(self, definitions)

source code 

Resolve port_type reference.

Parameters:

resolvesoapbody(self, definitions, op)

source code 

Resolve soap body message parts by cross-referencing with operation defined in port type.

Parameters:
  • definitions (Definitions) - A definitions object.
  • op (operation) - An operation object.

resolveheaders(self, definitions, op)

source code 

Resolve soap header message references.

Parameters:
  • definitions (Definitions) - A definitions object.
  • op (operation) - An operation object.

resolvefaults(self, definitions, op)

source code 

Resolve soap fault message references by cross-referencing with operation defined in port type.

Parameters:
  • definitions (Definitions) - A definitions object.
  • op (operation) - An operation object.

operation(self, name)

source code 

Shortcut used to get a contained operation by name.

Parameters:
  • name (str) - An operation name.
Returns: Operation @raise MethodNotFound: When not found.
The named operation.