1

I am using suds-jurko==0.6, but its very slow when i try to connect to remote SOAP Server with caching and local WSDL.

Can anyone suggest faster, more active/recent SOAP client for Python?

amulllb
  • 3,036
  • 7
  • 50
  • 87
  • See here http://stackoverflow.com/questions/206154/what-soap-client-libraries-exist-for-python-and-where-is-the-documentation-for. – Paul Rooney Oct 27 '14 at 05:07

1 Answers1

0

While I couldn't find an alternate lib, I was able to run suds over multiprocessing using pathos.multiprocessing package.

amulllb
  • 3,036
  • 7
  • 50
  • 87
  • do you mean you keep (e.g.) a singleton suds client instance running in one process and use pathos to communicate to the suds client? pathos/dill is able to serialize/deserialize suds objects? standard pickle doesn't. – Anentropic Jan 28 '15 at 14:13
  • maybe you meant something else, I tried that but it seems dill can't pickle them either – Anentropic Jan 28 '15 at 15:29
  • what i meant was, with basic python multiprocessing module (not necessarily pathos mp), you can run suds - one sud session per processor. however, these suds sessions are independent of each other – amulllb Jan 28 '15 at 17:40
  • ah I see, I was trying to get around the horrible memory usage of suds for service with large WSDL (eg eBay: 5.3MB WSDL) by having a single instance of client – Anentropic Jan 28 '15 at 18:10