OK. I'm having second thoughts on suds. It seems to work great some
times, but not so great on others. I have the following code, where
vid is the wsdl of the video.
Many of them fail. I got these wsdl's from http://www.xmethods.net and
presumably they're good.

def check(vid):
   try:
      client = Client(vid)
      print "succeeded: " + vid
   except:
      print "failed: " + vid

for x in wsdl:
   check(x)

It fails quite a bit, just to load the wsdl file. Here's the results:
succeeded: http://ws2.fraudlabs.com/mailboxvalidator.asmx?wsdl
succeeded: http://www.imcomponents.com/imsoap/?wsdl
succeeded: 
http://coeservice.en.kku.ac.th:8080/TemperatureConvertor/TemperatureConvertorService?WSDL
failed: http://ws.strikeiron.com/RealTimeNASDAQStockQuotes?WSDL
failed: http://ws.strikeiron.com/RealTimeStockQuotes3?WSDL
failed: http://ws.strikeiron.com/DelayedStockQuotes15min?WSDL
failed: http://www.siprod.net/webservices/xemail/xemailwebservice.asmx?WSDL
failed: https://api.postalmethods.com/PostalWS.asmx?WSDL
succeeded: http://ws.fraudlabs.com/browserobjectwebservice.asmx?wsdl
succeeded: http://ws.fraudlabs.com/areacodeworldwebservice.asmx?wsdl
succeeded: http://ws.cdyne.com/ProfanityWS/Profanity.asmx?wsdl
succeeded: http://euro2008.dataaccess.eu/footballpoolwebservice.wso?WSDL
succeeded: http://ws.cdyne.com/WeatherWS/Weather.asmx?wsdl
succeeded: http://www.ecubicle.net/whois_service.asmx?WSDL

If anyone has any thoughts, I'm all ears. I'm going to try to post
this on the suds page, see if they can't fix it.

-Steve

On Dec 12, 12:24 am, Jarek Zgoda <jarek.zg...@redefine.pl> wrote:
> Wiadomość napisana w dniu 2008-12-11, o godz. 09:31, przez Steve:
>
> > This may be a more of a generic Python question, but I'm working with
> > Django so thought that I'd see if there's a Django specific solution
> > to it.
>
> > I'm trying to work with SOAP. I'm new to it and a Jr. programmer as
> > well. From Dive into Python it has this great example about how to
> > handle SOAP calls.
> >http://www.diveintopython.org/soap_web_services/index.html
>
> Drop SOAPpy and ZSI, they are not documented and nearly dead. Try suds.
>
> --
> We read Knuth so you don't have to. - Tim Peters
>
> Jarek Zgoda, R&D, Redefine
> jarek.zg...@redefine.pl
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to