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

Class Port

source code

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

Represents a service port.

Instance Methods [hide private]
 
__init__(self, root, definitions, service) source code
Method
method(self, name)
Get a method defined in this portType by name.
source code

Inherited from WObject: resolve

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

Instance Variables [hide private]
str binding
A binding name.
str location
The service location (url).
Service service
A service.

Inherited from NamedObject: name, qname

Inherited from WObject: root

Method Details [hide private]

__init__(self, root, definitions, service)
(Constructor)

source code 
Parameters:
  • root (Element) - An XML root element.
  • definitions (Definitions) - A definitions object.
  • service (Service) - A service object.
Overrides: sudsobject.Object.__init__

method(self, name)

source code 

Get a method defined in this portType by name.

Parameters:
  • name (str) - A method name.
Returns: Method
The requested method object.