Logo Search packages:      
Sourcecode: suds version File versions  Download package

def suds::client::Client::__init__ (   self,
  url,
  kwargs 
)

@param url: The URL for the WSDL.
@type url: str
@param kwargs: keyword arguments.
@see: L{Options}

Definition at line 98 of file client.py.

00098                                      :
        """
        @param url: The URL for the WSDL.
        @type url: str
        @param kwargs: keyword arguments.
        @see: L{Options}
        """
        options = Options()
        options.transport = HttpAuthenticated()
        self.options = options
        options.cache = ObjectCache(days=1)
        self.set_options(**kwargs)
        reader = DefinitionsReader(options, Definitions)
        self.wsdl = reader.open(url)
        self.factory = Factory(self.wsdl)
        self.service = ServiceSelector(self, self.wsdl.services)
        self.sd = []
        for s in self.wsdl.services:
            sd = ServiceDefinition(self.wsdl, s)
            self.sd.append(sd)
        self.messages = dict(tx=None, rx=None)
        
    def set_options(self, **kwargs):


Generated by  Doxygen 1.6.0   Back to index