def load(self, definitions):
        """ Load the object by opening the URL """
        url = self.location
        #log.debug('importing (%s)', url)
        if '://' not in url:
            url = urljoin(definitions.url, url)
        options = definitions.options
        d = Definitions(url, options)
        if d.root.match(Definitions.Tag, wsdlns):
            self.import_definitions(definitions, d)
            return
        if d.root.match(Schema.Tag, Namespace.xsdns):
            self.import_schema(definitions, d)
            return
        raise Exception('document at "%s" is unknown' % url)
dataset/ETHPy150Open jumoconnect/openjumo/jumodjango/lib/suds/wsdl.py/Import.load/original