From: SourceForge.net <no...@so...> - 2006-01-02 20:31:30
|
Bugs item #1395559, was opened at 2006-01-02 20:31 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=387667&aid=1395559&group_id=26590 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: wstools Group: None Status: Open Resolution: None Priority: 5 Submitted By: Joshua Boverhof (boverhof) Assigned to: Joshua Boverhof (boverhof) Summary: problem with chameleon includes Initial Comment: bombing out on resolving targetNamespace for includes w/o targetNamespace. ------------------ ORIGINAL MESSSAGE: Hi All, I trying to generate python class code from an online wsdl, following you find the url: http://webservices.sabre.com/wsdl/sabreXML1.0.00/res/ SessionCreateRQ.wsdl this is to use the Sabre webservices, i use the following command: wsdl2py.py -u http://webservices.sabre.com/wsdl/sabreXML1.0.00/ res/SessionCreateRQ.wsdl and i receive the error copied below: Traceback (most recent call last): File "wsdl2py.py", line 167, in ? main() File "wsdl2py.py", line 153, in main wsdl = reader.loadFromURL(args_d['wsdl']) File "c:\python24\Lib\site-packages\ZSI\wstools\WSDLTools.py", line 42, in loa dFromURL wsdl.load(document) File "c:\python24\Lib\site-packages\ZSI\wstools\WSDLTools.py", line 203, in lo ad schema = reader.loadFromNode(WSDLToolsAdapter(self), element) File "c:\python24\Lib\site-packages\ZSI\wstools\XMLSchema.py", line 80, in loa dFromNode schema.load(reader) File "c:\python24\Lib\site-packages\ZSI\wstools\XMLSchema.py", line 1062, in l oad schema = tp.getSchema() File "c:\python24\Lib\site-packages\ZSI\wstools\XMLSchema.py", line 1257, in g etSchema self._schema = reader.loadFromURL(url) File "c:\python24\Lib\site-packages\ZSI\wstools\XMLSchema.py", line 114, in lo adFromURL schema.load(reader) File "c:\python24\Lib\site-packages\ZSI\wstools\XMLSchema.py", line 1047, in l oad self.targetNamespace = self.getTargetNamespace() File "c:\python24\Lib\site-packages\ZSI\wstools\XMLSchema.py", line 509, in ge tTargetNamespace parent = parent._parent() TypeError: 'NoneType' object is not callable i can't find any solution or help, any ideas or help is very appreciated. Thanks, have a nice day. Stefano. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=387667&aid=1395559&group_id=26590 |