[python-win32] python and soap?

Sagar Khushalani s.khushalani at yahoo.co.uk
Mon Apr 14 00:58:13 CEST 2008


hey
thank you for that...i just downloaded suds. it seems easy to work with. however, i'm having a problem, and you said you've used it so...

i tried connecting to 
http://www.html2xml.nl/Services/Calculator/Version1/Calculator.asmx?WSDL
for the service. however, whenever i try to use the "Add" service there, i get the following error:

Traceback (most recent call last):
  File "<pyshell#5>", line 1, in <module>
    s.Add(1,2)
  File "C:\Python25\lib\site-packages\suds-0.1.7-py2.5.egg\suds\serviceproxy.py", line 131, in __call__
    raise e
WebFault: service endpoint raised fault {
   faultcode = (soap:Client)
   faultstring = (Server did not recognize the value of HTTP Header SOAPAction: .)
   detail = ()
 }

how do i set the SOAPAction or what do i do about it? i'm not exactly sure whats going wrong...

thanks!

- sagar
 
Sagar Khushalani
Graduate Student, UTA
Networking / System Architecture
s.khushalani at yahoo.co.uk 
http://www.sagark.info



----- Original Message ----
From: Jose Galvez <jose at cybergalvez.com>
To: Sagar Khushalani <s.khushalani at yahoo.co.uk>
Sent: Friday, April 11, 2008 7:53:36 PM
Subject: Re: [python-win32] python and soap?

depends on if you want to be a SOAP service provider or if you want to use a SOAP service in python?  I just finished a project where I am hosting SOAP services and I used pylons and soaplib (http://pypi.python.org/pypi/soaplib/0.7.1dev-r17), I've also used suds (http://pypi.python.org/pypi/suds/0.1.7) to access soap services.  Both are pretty easy to use
Jose

Sagar Khushalani wrote: 
i guess this question has been asked lots of times, but can anyone suggest any good way of using SOAP and python 2.5? if not, is there any other versions (>2.3) that i can use?
 
i need it for a school project and so have to use SOAP...
 
thanks in advance!
- sagar



Sagar Khushalani
Graduate Student, UTA
Networking / Systems and Architecture
s.khushalani at yahoo.co.uk 
http://www.sagark.info
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

_______________________________________________
python-win32 mailing list
python-win32 at python.org
http://mail.python.org/mailman/listinfo/python-win32
  

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20080414/a5f04764/attachment.htm 


More information about the python-win32 mailing list