473,545 Members | 2,776 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2010
> 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.As CGI()

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
2234
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. Any help would really be appreciated. Thx
4
2645
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 to .NET1.1, the response from the web service appears as null in the proxy class. This only happens with .NET1.1, .NET1.0 is ok and works fine. I...
0
4657
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 another web service that validates a security token in the header. I have pasted my current SOAP message that my code sends as captured from a...
0
4337
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 message to my Web Method. The Web Method expects a string as its parameter and then feeds that string to an XML deserializer which maps the XML...
16
3160
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 wsdl doc i created a localhost site based on their DTD documetns. How do I configure my site (and client proxy) to match thier envelope? Any...
0
2116
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 authorized." I am probably doing something wrong in the signing process. I use a tool called "Exchanger XML Professional 3.2" for canonicalization and...
3
4264
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 web services using HTTP protocol, which is not acceptible - generating SOAP messages for arbitrary web services is something i wish to avoid. I...
3
9424
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
1414
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 back without major problems. However, it seems many of the libraries I remember from that time have become dormant or have been explicitly...
0
7499
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7689
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7943
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7786
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6022
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3490
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1919
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1044
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
743
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.