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

Class Service

source code

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

Represents <service/>.

Instance Methods [hide private]
 
__init__(self, root, definitions) source code
 
setlocation(self, url, names=None)
Override the invocation location (url) for service method.
source code
 
resolve(self, definitions)
Resolve named references to other WSDL objects.
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]
Port
port(self, name)
The contained ports.
source code
[Method,..] methods
The contained methods for all ports.

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__

setlocation(self, url, names=None)

source code 

Override the invocation location (url) for service method.

Parameters:
  • url (A url.) - A url location.
  • names ([str,..]) - A list of method names. None=ALL

resolve(self, definitions)

source code 

Resolve named references to other WSDL objects. Ports without soap bindings are discarded.

Parameters:
Overrides: WObject.resolve

Instance Variable Details [hide private]

port(self, name)

source code 
The contained ports.
Parameters:
  • name (str) - A port name.
Returns: Port
The port object.