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
Logged In: YES
user_id=711996
This appears to have been fixed again, the culprit were some
document strings that were recently added.
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