Ich brauche einen SOAP-Service in Python und ich lese über schummeln, so dass ich es benutze, aber ich kann nicht weiter bewegen.
Suds AttributeError: 'NoneType' Objekt hat kein Attribut 'param_defs'
Ich erhalte einen Fehler, sobald ich ein Client-Objekt erstelle.
unten ist der Code
from suds.client import Client
url = 'http://ebay.davismicro.com.cn:9888/api/wishery.php?wsdl'
client = Client(url)
und der Fehler Ich erhalte dann ist dies
Traceback (most recent call last):
File "D:\kshubham\webpractice\alchemytry\apitest1.py", line 12, in <module>
client = Client(url)
File "C:\Python27\lib\site-packages\suds\client.py", line 119, in __init__
sd = ServiceDefinition(self.wsdl, s)
File "C:\Python27\lib\site-packages\suds\servicedefinition.py", line 57, in __init__
self.addports()
File "C:\Python27\lib\site-packages\suds\servicedefinition.py", line 85, in addports
method = (m.name, binding.param_defs(m))
AttributeError: 'NoneType' object has no attribute 'param_defs'
Ich weiß nicht, was ich falsch mache. Bitte vorschlagen.
Vielen Dank im Voraus.