Solved

How to consume the web services in python

Posted on 2011-03-22
13
548 Views
Last Modified: 2012-05-11
Hi,

Which the best way to consume the web services from pyhton?
I am trying to use "SOAPpy" but it's giving me exception while installing.
I have installed the all pre-requisites correctly. Can anyone please suggest me what to do?
0
Comment
Question by:milindbansode
13 Comments
 
LVL 5

Expert Comment

by:-Richard-
ID: 35188652
SoapPy is in the process of being phased out and replaced by the Zolera SOAP Infrastructure, ZSI.  Maybe you should try using ZSI.   This link gives more information: http://pywebsvcs.sourceforge.net/.
0
 

Author Comment

by:milindbansode
ID: 35212745
I am feeling that consuming web services Python is the most complicated task:

I tired below ways:
1. SoapPy setup (pretty much all the available versions) but its throwing exception while installing. I commented errorprone code then I have installed but it didn't worked
2. I tried to use "xmlrpclib" module but its throwing protocol exception

Can any one plase tell me what is the best way to consume the web service in python?
0
 
LVL 15

Accepted Solution

by:
mish33 earned 500 total points
ID: 35282047
'web service' is too generic, ie. it's any service available via web

To 'consume', ie. use it you need to know many details not provided in the question. Once you supply the details of the service you want to use, a detailed advice can be given.
0
 

Author Comment

by:milindbansode
ID: 35837793
I've requested that this question be deleted for the following reason:

Deleted
0
 

Author Comment

by:milindbansode
ID: 35837794
dont delete
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:milindbansode
ID: 35837810
SUDS library works fine
0
 

Author Comment

by:milindbansode
ID: 35837818
I've requested that this question be closed as follows:

Accepted answer: 0 points for milindbansode's comment http:/Q_26902678.html#35837794
Assisted answer: 0 points for milindbansode's comment http:/Q_26902678.html#35837793

for the following reason:

SUDS library is the best option to consume the python library
0
 

Author Comment

by:milindbansode
ID: 35837819
Canceled
0
 

Author Comment

by:milindbansode
ID: 35837835
I've requested that this question be closed as follows:

Accepted answer: 500 points for mish33's comment http:/Q_26902678.html#35282047
Assisted answer: 0 points for milindbansode's comment http:/Q_26902678.html#35837818

for the following reason:

SUDS library is really good way to consume the web services in Python
0
 

Author Comment

by:milindbansode
ID: 35837836
test
0
 
LVL 31

Expert Comment

by:James Murrell
ID: 36515802
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Here I am using Python IDLE(GUI) to write a simple program and save it, so that we can just execute it in future. Because when we write any program and exit from Python then program that we have written will be lost. So for not losing our program we…
Flask is a microframework for Python based on Werkzeug and Jinja 2. This requires you to have a good understanding of Python 2.7. Lets install Flask! To install Flask you can use a python repository for libraries tool called pip. Download this f…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now