SOAP : ZSI error

linuxprog linuxprog at gmail.com
Mon Sep 3 05:43:27 EDT 2007


hello i need some help with ZSI module
i want to use the web service located here 
www.ebob42.com/cgi-bin/NumberToWordsInDutch.exe/soap/IDutch
the wsdl file : 
http://www.ebob42.com/cgi-bin/NumberToWordsInDutch.exe/wsdl/IDutch
that web service is very simple , the function NumToStr converts numbers 
to dutch words (description 
http://www.xmethods.net/ve2/ViewListing.po?key=uuid:01EF9AE1-6DD3-7317-AFA5-05A8A52FCD56)

i have generated IDutchservice_services with wsdl2py
here is my code :

import IDutchservice_services
soap = 
IDutchservice_services.IDutchbindingSOAP("www.ebob42.com/cgi-bin/NumberToWordsInDutch.exe/soap/IDutch")
ok = IDutchservice_services.NumToStr0Request()
ok.Num=5
print soap.NumToStr(ok)

that prints an error RuntimeError: must specify transport or url 
startswith https/http

what's wrong in my script ? thanks



More information about the Python-list mailing list