Menu

#150 unscriptable object error from wsdl2dispatch 2.0rc2

v2.0
closed-rejected
wstools (22)
5
2007-10-31
2006-07-04
Leo
No

The WSDL file attached causes wsdl2dispatch to fail
with a TypeErro, even though gSOAP and Eclipse validate
the WSDL.

Output:

[me@machine tmp]$ wsdl2dispatch.py -e -f MXI.wsdl
/usr/lib/python2.4/site-packages/ZSI-2.0_rc2-py2.4.egg/ZSI/generate/wsdl2dispatch.py:222:
UserWarning: Port(MXIHTTP) operation(getJobID) defined
in Binding(MXIHTTP) missing soapAction
/usr/lib/python2.4/site-packages/ZSI-2.0_rc2-py2.4.egg/ZSI/generate/wsdl2dispatch.py:222:
UserWarning: Port(MXIHTTP) operation(kill) defined in
Binding(MXIHTTP) missing soapAction
/usr/lib/python2.4/site-packages/ZSI-2.0_rc2-py2.4.egg/ZSI/generate/wsdl2dispatch.py:222:
UserWarning: Port(MXIHTTP) operation(knock) defined in
Binding(MXIHTTP) missing soapAction
/usr/lib/python2.4/site-packages/ZSI-2.0_rc2-py2.4.egg/ZSI/generate/wsdl2dispatch.py:222:
UserWarning: Port(MXIHTTP) operation(modelInfo) defined
in Binding(MXIHTTP) missing soapAction
Traceback (most recent call last):
File "/usr/bin/wsdl2dispatch.py", line 5, in ?
pkg_resources.run_script('ZSI==2.0-rc2',
'wsdl2dispatch.py')
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a11-py2.4.egg/pkg_resources.py",
line 407, in run_script
self.require(requires)[0].run_script(script_name, ns)
File
"/usr/lib/python2.4/site-packages/setuptools-0.6a11-py2.4.egg/pkg_resources.py",
line 1091, in run_script
exec script_code in namespace, namespace
File "/usr/bin/wsdl2dispatch.py", line 90, in ?

File "/usr/bin/wsdl2dispatch.py", line 84, in main

File "/usr/bin/wsdl2dispatch.py", line 476, in fromWSDL

File "/usr/bin/wsdl2dispatch.py", line 358, in fromWSDL

File "/usr/bin/wsdl2dispatch.py", line 285, in
setUpMethods

File
"build/bdist.linux-i686/egg/ZSI/generate/utility.py",
line 119, in GetPartsSubNames
TypeError: unsubscriptable object
[me@machine tmp]$

Discussion

  • Leo

    Leo - 2006-07-04

    offending WSDL file

     
  • Leo

    Leo - 2006-07-04

    Logged In: YES
    user_id=1549607

    The new version of the WSDL below runs cleanly. It turns out
    the first wsdl has a few problems even though it passed
    gSOAP's tests.

     
  • Leo

    Leo - 2006-07-04

    Newer version of WSDL which builds cleanly

     
  • Joshua Boverhof

    Joshua Boverhof - 2007-10-31
    • status: open --> open-rejected
     
  • Joshua Boverhof

    Joshua Boverhof - 2007-10-31
    • assigned_to: nobody --> boverhof
    • status: open-rejected --> closed-rejected
     

Log in to post a comment.