#225 wsdl2py error with complexTypes

v2.0
open
zsi (169)
5
2007-12-03
2007-12-03
Jakob
No

This error occurs when wsdl2py parses the attached wsdl file.
It is only a test wsdl file so it is OK to use it for unitesting in the project.

/soaptest_cli2/py$ wsdl2py ServiceAggregator.wsdl
Traceback (most recent call last):
File "/usr/bin/wsdl2py", line 9, in <module>
wsdl2py()
File "/usr/lib/python2.5/site-packages/ZSI/generate/commands.py", line 147, in wsdl2py
files = _wsdl2py(options, wsdl)
File "/usr/lib/python2.5/site-packages/ZSI/generate/commands.py", line 240, in _wsdl2py
wsm.writeTypes(fd)
File "/usr/lib/python2.5/site-packages/ZSI/generate/wsdl2python.py", line 232, in writeTypes
sd.fromSchema(schema)
File "/usr/lib/python2.5/site-packages/ZSI/generate/wsdl2python.py", line 417, in fromSchema
self.items[-1].fromSchemaItem(item)
File "/usr/lib/python2.5/site-packages/ZSI/generate/wsdl2python.py", line 544, in fromSchemaItem
self.content.setUp(item, **kw)
File "/usr/lib/python2.5/site-packages/ZSI/generate/containers.py", line 2443, in setUp
%(namespace, ncname, derivation.getItemTrace())
ZSI.generate.containers.ContainerError : (u'Failure in setUp: <schema targetNamespace="urn:SoapAggregator"><complexType name="ArrayOfSOAPService">', u'For Array could not resolve ofwhat typecode( http://tempuri.org/ns3.xsd,SOAPService): <schema targetNamespace="urn:SoapAggregator"><complexType name="ArrayOfSOAPService"><complexContent><restriction>')

Discussion

  • Jakob
    Jakob
    2007-12-03

    The wsdl file that failes

     
    Attachments
  • Jakob
    Jakob
    2007-12-03

    • assigned_to: nobody --> boverhof