Menu

#171 Support for Apache Axis rpc/enc wsdl is broken

v2.0
open
nobody
None
5
2006-09-28
2006-09-28
bryan
No

An attempt to use wsdl2py.py in rev 1252 from svn on
the wsdl at

results in
ZSI.generate.WsdlGeneratorError: could not retrieve
alias for http://schemas.xmlsoap.org/soap/encoding/
{u'urn:VocabServerAPI':
(u'urn_VocabServerAPI', 'ns0')}

This is apparently a known error.

Attached is an attempt at a unittest to expose the
issue.

(Note that the same service when exposed as a
doc/literal produces python stubs which when called
also fail ... but we'll expose that to the mailing
list before lodging a formal bug report).

Discussion

  • bryan

    bryan - 2006-09-28

    unittest to exercise the simplest method in a deployed Apache AXIS rpc/enc service

     
  • bryan

    bryan - 2006-09-28

    config.txt for the wsdl test directory

     
  • bryan

    bryan - 2006-09-28

    Logged In: YES
    user_id=404128

    Attached is a modified config.txt for the unit test with
    the wsdl address.

     
  • Kurt Schwehr

    Kurt Schwehr - 2007-02-04

    Logged In: YES
    user_id=867950
    Originator: NO

    I think this is in the same category of troubles with Apache Axis. I posted this to the mailing list back in oct/nov somewhere, but might as well put it here for completeness.

    -kurt

    wsdl2py --url="http://opendap.co-ops.nos.noaa.gov/axis/services/ActiveStations?wsdl"
    /sw/bin/wsdl2py:5: UserWarning: Module dap was already imported from None, but /sw/lib/python2.5/site-packages is being added to sys.path
    from pkg_resources import load_entry_point
    Traceback (most recent call last):
    File "/sw/bin/wsdl2py", line 8, in <module>
    load_entry_point('ZSI==2.0', 'console_scripts', 'wsdl2py')()
    File "/sw/lib/python2.5/site-packages/ZSI/generate/commands.py", line 223, in wsdl2py
    wsm.writeClient(fd)
    File "/sw/lib/python2.5/site-packages/ZSI/generate/wsdl2python.py", line 211, in writeClient
    sd.fromWsdl(service, **kw)
    File "/sw/lib/python2.5/site-packages/ZSI/generate/wsdl2python.py", line 289, in fromWsdl
    mw.setUp(soc, port, input=True)
    File "/sw/lib/python2.5/site-packages/ZSI/generate/wsdl2python.py", line 362, in setUp
    self.content.setUp(port, soc, input)
    File "/sw/lib/python2.5/site-packages/ZSI/generate/containers.py", line 815, in setUp
    raise Wsdl2PythonError, 'must specify part for doc/lit msg'
    ZSI.generate.Wsdl2PythonError: must specify part for doc/lit msg

     

Log in to post a comment.