Hey guys
I'm having a problem when upgrading to the 0.3.6 version of suds. I used
0.3.4 before and the issue didn't happen then. It seems to be a problem
with parsing the WSDL, but as far as I can tell there is nothing wrong
with it (I think it's generated by the apache CFX framework).
Can anyone provide me with some insight into what's going wrong? I've
tried using the schema doctor as mentioned in the Tips&Tricks section,
but to no avail.
Here's what happens:
>> from suds.client import Client
>> client =
Client('https://webservices.gids2.nl/GidsV2Core/zoekservice?wsdl')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/client.py",
line 106, in __init__
self.wsdl = Definitions(url, options)
File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/wsdl.py",
line 191, in __init__
self.open_imports()
File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/wsdl.py",
line 237, in open_imports
imp.load(self)
File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/wsdl.py",
line 341, in load
d = Definitions(url, definitions.options)
File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/wsdl.py",
line 194, in __init__
self.set_wrapped()
File "/home/rual/workspace_drenthe/python-suds-0.3.6/suds/wsdl.py",
line 303, in set_wrapped
resolved = pt.resolve()
File
"/home/rual/workspace_drenthe/python-suds-0.3.6/suds/xsd/sxbasic.py",
line 156, in resolve
raise TypeNotFound(qref)
suds.TypeNotFound: Type not found: '(GidsException,
http://exceptions.core.gids.nl, )'
--
----------------------------------------------------------------------
Rudi Alberda Knowlogy
rudi.alberda(a)knowlogy.nl Helperpark 290 C, 9723 ZA Groningen
Tel. +31 6 44168743
www.knowlogy.nl
----------------------------------------------------------------------