我正在尝试使用 eBay Trading SOAP API :
from suds.client import Client
print Client('http://developer.ebay.com/webservices/latest/ebaySvc.wsdl')
我得到了这个:
ERROR:suds.servicedefinition:unsupported operand type(s) for +=: 'NoneType' and 'str'
Traceback (most recent call last):
File "build/bdist.macosx-10.6-universal/egg/suds/servicedefinition.py", line 245, in __unicode__
return self.description()
File "build/bdist.macosx-10.6-universal/egg/suds/servicedefinition.py", line 223, in description
sig.append(self.xlate(p[1]))
File "build/bdist.macosx-10.6-universal/egg/suds/servicedefinition.py", line 189, in xlate
name += '[]'
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'
Suds ( https://fedorahosted.org/suds/ ) version: 0.4.1 (beta) build: R705-20101207
unsupported operand type(s) for +=: 'NoneType' and 'str'
发生了什么事?
查找API 工作正常:
Client('http://developer.ebay.com/webservices/finding/latest/FindingService.wsdl')
提前致谢, 艾格。