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

Class Definitions

source code

sudsobject.Object --+    
                    |    
              WObject --+
                        |
                       Definitions

Represents the root container of the WSDL objects as defined by <wsdl:definitions/>

Instance Methods [hide private]
 
__init__(self, url, options) source code
 
mktns(self, root)
Get/create the target namespace
source code
 
add_children(self, root)
Add child objects using the factory
source code
 
open_imports(self)
Import the imported WSDLs.
source code
 
resolve(self)
Tell all children to resolve themselves
source code
 
build_schema(self)
Process Types objects and create the schema collection
source code
 
add_methods(self, service)
Build method view for service
source code
 
set_wrapped(self)
set (wrapped|bare) flag on messages
source code
 
__getstate__(self) source code
 
__repr__(self) source code

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

Class Variables [hide private]
  Tag = 'definitions'
Instance Variables [hide private]
[Binding,...] bindings
The dictionary of Binding children key'd by qname
[WObject,...] children
The raw list of child objects.
str id
The object id.
[Import,...] imports
The list of Import children.
[Message,...] messages
The dictionary of Message children key'd by qname
options.Options options
An options dictionary.
[PortType,...] port_types
The dictionary of PortType children key'd by qname
SchemaCollection schema
The collective WSDL schema object.
Service service
The service object.
str tns
The target namespace for the WSDL.
str url
The URL used to load the object.

Inherited from WObject: root

Method Details [hide private]

__init__(self, url, options)
(Constructor)

source code 
Parameters:
  • url (str) - A URL to the WSDL.
  • options (options.Options) - An options dictionary.
Overrides: sudsobject.Object.__init__

resolve(self)

source code 

Tell all children to resolve themselves

Parameters:
  • definitions - A definitions object.
Overrides: WObject.resolve

__repr__(self)
(Representation operator)

source code 
Overrides: sudsobject.Object.__repr__