Anup Kandalkar <kandalkar....@gmail.com> writes: > I am trying to create service for the url: > > wsdl_url = https://avatax.avalara.net/Account/Accountsvc.wsdl > > But some error is coming: > > svc = suds.client.Client(url=wsdl_url) > File "/usr/lib/python2.7/dist-packages/suds/client.py", line 114, in > __init__ > self.wsdl = reader.open(url) > File "/usr/lib/python2.7/dist-packages/suds/reader.py", line 152, in open > d = self.fn(url, self.options) > File "/usr/lib/python2.7/dist-packages/suds/wsdl.py", line 158, in __init__ > self.resolve() > File "/usr/lib/python2.7/dist-packages/suds/wsdl.py", line 207, in resolve > c.resolve(self) > File "/usr/lib/python2.7/dist-packages/suds/wsdl.py", line 660, in resolve > self.resolvesoapbody(definitions, op) > File "/usr/lib/python2.7/dist-packages/suds/wsdl.py", line 686, in > resolvesoapbody > ptop = self.type.operation(op.name) > File "/usr/lib/python2.7/dist-packages/suds/wsdl.py", line 525, in operation > raise MethodNotFound(name) > MethodNotFound: Method not found: 'ServiceSettingSave'
This looks to be a bug in the "wsdl". Somewhere, it refers to "ServiceSettingSave" but there is no definition for it. To analyse, I would download the WSDL description (recursively, if necessary to get the full description) and search there for "ServiceSettingSave". -- https://mail.python.org/mailman/listinfo/python-list