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

Class PortType

source code

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

Represents <portType/>.

Instance Methods [hide private]
 
__init__(self, root, definitions) source code
 
resolve(self, definitions)
Resolve named references to other WSDL objects.
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.

Parameters:
Overrides: WObject.resolve

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.