#3 wsdl2py in ZSI fails on Salesforce wsdl...again.

closed
nobody
None
5
2003-11-19
2003-11-11
Brendan Rankin
No

Hello,

A few weeks back this was working, but now it doesn't
work again.

Here's the error message I now get:

903> wsdl2py -u http://www.sforce.com/wsdl
Traceback (most recent call last):
File "/usr/bin/wsdl2py", line 118, in ?
main()
File "/usr/bin/wsdl2py", line 113, in main
wsm.write(schemaOnly)
File
"/usr/lib/python2.3/site-packages/ZSI/wsdl2python.py",
line 176, in write
self.write_services(f_types, f_services, fd, hasSchema)
File
"/usr/lib/python2.3/site-packages/ZSI/wsdl2python.py",
line 233, in write_services
sd.fromWsdl(service, self.typeDict)
File
"/usr/lib/python2.3/site-packages/ZSI/wsdl2python.py",
line 489, in fromWsdl
myBinding['defs'][op.getName()] +=
self.messages[inputName].\ File
"/usr/lib/python2.3/site-packages/ZSI/wsdl2python.py",
line 752, in docString
item[1] = item[1].replace('LOCAL_Def', '_Def')
AttributeError: 'NoneType' object has no attribute
'replace'

Nothing has changed in the WSDL, so I know that ZSI
must have changed.

Please take a look and try to get this WSDL to pass.
I'm a pretty big Salesforce.com user/customer and am
now using Python XMLRPC, but would like to be able to
use the nice features of SOAP and, especially WSDL.

Cheers,

- Brendan

Discussion

  • Logged In: YES
    user_id=711996

    This appears to have been fixed again, the culprit were some
    document strings that were recently added.

     
  • Keith Jackson
    Keith Jackson
    2003-11-19

    • status: open --> closed
     
  • Keith Jackson
    Keith Jackson
    2003-11-19

    Logged In: YES
    user_id=711889

    Brendan,
    Sorry about that. This is fixed in cvs. We'll try and put
    out a minor version release before to long with this. If you
    need it before then, let me know.
    --keith