What is the best library that can be used to create a SOAP Server – Client with Python or implement client that can talk to SOAP Server ???
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As for a SOAP client, my personal favourite is SUDS https://fedorahosted.org/suds/. It is very Pythonic and easy to use. Also you don’t need to generate any code making it very useful for testing.
A simple example from its documentation (https://fedorahosted.org/suds/wiki/Documentation):
Now you can simply use client to call services. For instance in order to call getPercentBodyFat service (in the test case):
For more information about different SOAP libraries for Python, please see question 206154