我正在使用一些SOAP python库-suds:
https://fedorahosted.org/suds/wiki/Documentation
即使我用了一些改进(插槽)肥皂水-伟大的,但仍然有很多内存使用!!!在
所以我有个问题:
是否可以只下载wsdl的一部分-我只需要两个方法,但整个API非常大:
self.client = Client('https://webapi.allegro.pl/service.php?wsdl', cache=None)
我试着从本地文件(大wsdl的简短版本)中读取:
self.client = Client(url='file:///home/tomek/pythonScript/service.php?wsdl', location='https://webapi.allegro.pl/service.php', cache=None)
但它不起作用:
suds/bindings/binding.py", line 149, in get_reply
soapenv.promotePrefixes()
AttributeError: 'NoneType' object has no attribute 'promotePrefixes'
请帮帮我!!!在
目前没有回答
相关问题 更多 >
编程相关推荐