1

I use Python 3.2. I have an API which uses SOAP. I need to perform a number of SOAP calls to modify some objects in a database. I'm trying to install a SOAP library which would work with Python 3.2 (or 2.7 if that's what it takes) in order to do my task.

If someone could give me some guidance how to go through with what library to install and how to install, I would be very grateful. I would be able to continue with the rest of my development.

Note: I heard about SOAPy but it looks like it's discontinued. I've downloaded an executable which asks me to point where I want it installed and I'm given no choices...

I'm a little lost.

dda
  • 6,030
  • 2
  • 25
  • 34
Nicolas de Fontenay
  • 2,170
  • 5
  • 26
  • 51
  • 1
    [http://stackoverflow.com/questions/206154/whats-the-best-soap-client-library-for-python-and-where-is-the-documentation-f](http://stackoverflow.com/questions/206154/whats-the-best-soap-client-library-for-python-and-where-is-the-documentation-f) – DonCallisto Dec 07 '12 at 10:08
  • 1
    [This fork of suds](https://bitbucket.org/jurko/suds) seems to support Python 3.x after running it through `2to3`. – Pedro Romano Dec 08 '12 at 01:26
  • If the installer gives you no choices it is because it is for a version of Python which you don't have installed (most likely it works with the 2.x line and you only have 3.2 installed). – Sean Vieira Dec 10 '12 at 03:06

1 Answers1

0
  1. Open your command prompt (If python already installed and you have set python path in environment variable) then
  2. c:> pip install zeep
  3. c:> pip install lxml==3.7.3 zeep
  4. c:> pip install zeep[xmlsec]
  5. c:> pip install zeep[async]

Now you are ready to create SOAP call using python 1. c:/> Python 2. >>> from zeep import Client 3. >>> client = Client('your WSDL URL'); 4. result = client.service.method_name(parameters if required) 5. >>> print (result)