473,403 Members | 2,270 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

python soap web services

Is there any reason why there isn't any python library that makes
using soap as easy as how microsoft .net makes it.

I mean I write rudimentary asmx files call them from a webbrowser.
The WSDL is generated and then there is documentation and a form to
invoke a function.

When do you think someone will make this available for python web service??
May 12 '06 #1
3 2008
> Is there any reason why there isn't any python library that makes
using soap as easy as how microsoft .net makes it.
SOAP with Python is easy too in a different sort of way. I don't know
about the equivalent for autogenerating WSDL bit as in .NET.

#!/usr/bin/env python
def hello():
return "Hello, world"
import ZSI
ZSI.dispatch.AsCGI()

And you have SOAP available on ANY web server.

More here.
http://pywebsvcs.sourceforge.net/zsi.html
http://diveintopython.org/soap_web_services/index.html
When do you think someone will make this available for python web service??

When? Will let you know soon as my crystal ball gets delivered :-)
Seriously, whenever someone gets that itch to scratch since that's how
things get done in OSS usually.

May 12 '06 #2
Butternut squash wrote:
Is there any reason why there isn't any python library that makes
using soap as easy as how microsoft .net makes it.

I mean I write rudimentary asmx files call them from a webbrowser.
The WSDL is generated and then there is documentation and a form to
invoke a function.


The WSDL will never as easily be created as in .NET/JAVA, as Python lacks
static typing annotations that are used by the WSDL-generators. So either
someone defines his own type annotation theme for that purpose that can be
used to infer the WSDL - or you write WSDL yourself. Which is a major
PITA, as the whole SOAP mess.

Ravi OTH has pointed out _running_ a SOAP service is easy as cake.

Diez
May 12 '06 #3
Diez B. Roggisch wrote:
Butternut squash wrote:
Is there any reason why there isn't any python library that makes
using soap as easy as how microsoft .net makes it.

I mean I write rudimentary asmx files call them from a webbrowser.
The WSDL is generated and then there is documentation and a form to
invoke a function.


The WSDL will never as easily be created as in .NET/JAVA, as Python lacks
static typing annotations that are used by the WSDL-generators. So either
someone defines his own type annotation theme for that purpose that can be
used to infer the WSDL - or you write WSDL yourself. Which is a major
PITA, as the whole SOAP mess.

Ravi OTH has pointed out _running_ a SOAP service is easy as cake.


I agree python soap is pretty easy to use. Just a bit harder to use the c#
classic way to call a web service.
May 13 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Cleo | last post by:
Hi, I am trying to call a WebService Method written in Weblogic from VB.NET and I am getting the following error. I am using SOAP Caal s from VB.NET. Please find the wsdl file and my code. ...
4
by: Jit Prasad | last post by:
I have been consuming a IBM Websphere (Java) web service using .Net 1.0 front end writen in VB.NET. The proxy class submits a soap request and gets a soap response. When I migrated the front-end...
0
by: Daniel Thune, MCSE | last post by:
I am having a problem with formatting a SOAP Header in a .Net client. The client calls a Java Axis 1.1 based web service. In order to authenticate the caller, the web service call is intercepted by...
0
by: Matt Wood | last post by:
Hi, I have written a Web Service for a customer which expects a SOAP message with Document/Literal encoding, and uses RoutingStyle=SoapServiceRoutingStyle.RequestElement to route the SOAP body...
16
by: MR | last post by:
my soap messages to a remote site are failing. as far as i can tell the only differences between what my SOAP message looks liek and what they want are in the SOAP envelope SInce they don't have a...
0
by: Daniel | last post by:
Hi, I need help signing SOAP/XML. Have been stuck with this for a couple of days now. I get the following error message from the server: "The security token could not be authenticated or...
3
by: Ivan Zuzak | last post by:
Hello, My Python application calls web services available on the Internet. The web service being called is defined through application user input. The Python built-in library allows access to...
3
by: Siva | last post by:
Hi all, I want to Convert a WSDL to a SOAP message. Is there any way to do this. I am using .NET 2.0 Thanks in Advance Siva
4
by: Heikki Toivonen | last post by:
I have started researching the Python SOAP (and web services in general) options out there. Python 2.5 should be supported. I used Python for some web services stuff (demo quality) a few years...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.