From: Anurag C. <anu...@gm...> - 2015-01-11 16:35:28
|
Hi Jim, >>> ZSI.version.Version (1, 2, 8) Regards, Guddu On Sun, Jan 11, 2015 at 5:00 AM, Jim <jim...@gm...> wrote: > Hi, > I tried your WSDL with ZSI 2.0 from > > http://sourceforge.net/projects/pywebsvcs/files/ZSI/ZSI-2.0/ZSI-2.0.tar.gz/download > > wsdl2py --file zsitest.wsdl > Traceback (most recent call last): > File "/Library/Frameworks/Python.framework/Versions/2.7/bin/wsdl2py", > line 9, in <module> > load_entry_point('ZSI==2.0', 'console_scripts', 'wsdl2py')() > File "build/bdist.macosx-10.6-intel/egg/ZSI/generate/commands.py", line > 231, in wsdl2py > > File "build/bdist.macosx-10.6-intel/egg/ZSI/generate/wsdl2python.py", > line 226, in writeTypes > File "build/bdist.macosx-10.6-intel/egg/ZSI/generate/wsdl2python.py", > line 396, in fromSchema > File "build/bdist.macosx-10.6-intel/egg/ZSI/generate/wsdl2python.py", > line 523, in fromSchemaItem > File "build/bdist.macosx-10.6-intel/egg/ZSI/generate/containers.py", > line 2289, in setUp > ZSI.generate.containers.ContainerError: (u'Failure in setUp: <schema > targetNamespace="http://xmlns.client.corp/document/uniqueseq/EntBusM"><complexType > name="SenduniqueseqRequestEntBusMType">', u'Unsupported base((u\' > http://xmlns.client.corp/Core/EntBusM/Common/EntBusM\', > u\'EntBusMType\')): <schema targetNamespace=" > http://xmlns.client.corp/document/uniqueseq/EntBusM"><complexType > name="SenduniqueseqRequestEntBusMType"><complexContent><extension>') > > So I get another error... Please provide your ZSI version. > > Regards > > On Sun, Jan 11, 2015 at 12:44 AM, Anurag Chourasia < > anu...@gm...> wrote: > >> All, >> >> I am trying to convert my WSDL using wsdl2py . . . . The WSDL is at >> http://dpaste.com/09DX4VR >> >> The conversion fails with this error. >> >> Traceback (most recent call last): >> File "C:\Python27\Scripts\wsdl2py", line 119, in <module> >> main() >> File "C:\Python27\Scripts\wsdl2py", line 114, in main >> wsm.write(schemaOnly) >> File "C:\Python27\lib\site-packages\ZSI\wsdl2python.py", line 199, in >> write >> self.write_service_types(f_types, fd) >> File "C:\Python27\lib\site-packages\ZSI\wsdl2python.py", line 240, in >> write_service_types >> self.write_dependent_schema(schema, fd) >> File "C:\Python27\lib\site-packages\ZSI\wsdl2python.py", line 319, in >> write_dependent_schema >> sd.fromWsdl(schema, alternateWriter) >> File "C:\Python27\lib\site-packages\ZSI\wsdl2python.py", line 961, in >> fromWsdl >> self.generate(schema.getTypesDict(), alternateWriter) >> File "C:\Python27\lib\site-packages\ZSI\wsdl2python.py", line 990, in >> generate >> tw.fromType(tp, ref) >> File "C:\Python27\lib\site-packages\ZSI\wsdl2python.py", line 1074, in >> fromType >> self._fromComplexType(tp) >> File "C:\Python27\lib\site-packages\ZSI\wsdl2python.py", line 1282, in >> _fromComplexType >> typecodelist += self._complexTypeAllOrSequence(tp, mg) >> File "C:\Python27\lib\site-packages\ZSI\wsdl2python.py", line 1520, in >> _complexTypeAllOrSequence >> % (e.__class__) >> ZSI.wsdl2python.WsdlGeneratorError: instance >> ZSI.wsdlInterface.ZSIElementReferenceAdapter not handled >> >> Could someone please help me overcome this error? >> >> Regards, >> Guddu >> >> >> ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming! The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net >> _______________________________________________ >> Pywebsvcs-talk mailing list >> Pyw...@li... >> https://lists.sourceforge.net/lists/listinfo/pywebsvcs-talk >> Also archived at http://groups.google.com/group/pywebsvcs >> >> > |