Solved

How to consume the web services in python

Posted on 2011-03-22
13
556 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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
 

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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

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…
Article by: Swadhin
Introduction of Lists in Python: There are six built-in types of sequences. Lists and tuples are the most common one. In this article we will see how to use Lists in python and how we can utilize it while doing our own program. In general we can al…
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 lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…

717 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