SOAP : ZSI error

Boris Borcic bborcic at gmail.com
Mon Sep 3 19:06:26 CEST 2007


linuxprog wrote:
> 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

Is "startswith https/http" part of the error message ? What would it refer to ?




More information about the Python-list mailing list