Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Suds client response error
#1
Hi

We are using python suds client to connect to our internal web service. This works pretty well, but occasionally we get the following error which is hard to reproduce. Any idea if this is bug in suds itself and fixed in a later version ?

Thanks
Rajesh
Error:
result = service(*args) File "...\lib\python2.6\suds\client.py", line 539, in __call__ return client.invoke(args, kwargs) File "...\lib\python2.6\suds\client.py", line 598, in invoke result = self.send(msg) File "...\lib\python2.6\suds\client.py", line 627, in send result = self.succeeded(binding, reply.message) File "...\lib\python2.6\suds\client.py", line 659, in succeeded r, p = binding.get_reply(self.method, reply) File "...\lib\python2.6\suds\bindings\binding.py", line 148, in get_reply nodes = self.replycontent(method, soapbody) File "...\lib\python2.6\suds\bindings\document.py", line 75, in replycontent return body[0].children AttributeError: 'NoneType' object has no attribute 'children'
Reply
#2
the error is resulting in body[0] being None.

I would just post an issue for them on their repo
https://bitbucket.org/jurko/suds/

EDIT:
The pypi one is old and outdated from 2010, make sure you are using the new one. As well as python2.6 is now considered obsolete. Even in a few years python2.x in general will no longer get updates.
Recommended Tutorials:
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Passing soapAction false to suds PeppePegasus 1 4,045 Jan-08-2018, 09:31 AM
Last Post: SarbjitGrewal
  Type Not Found error on python soap call using suds library wellborn 1 4,596 Dec-19-2017, 07:53 PM
Last Post: micseydel

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020