Here it is, the specific error is RuntimeError: maximum recursion
depth exceeded. I haven't attempted to debug it, since I'm totally in
the dark at wsdl and still fairly junior with Python. I tried this on
two machines, but I still don't out rule it being my own
configuration. Is anyone else able to fire up suds and let me know if
they get the same failures with the calls above? I submitted a ticket
to suds.
https://fedorahosted.org/suds/ticket/65
Traceback (most recent call last):
File "fliqz.py", line 5, in <module>
client = Client(url)
File "suds\client.py", line 103, in __init__
File "suds\wsdl.py", line 190, in __init__
File "suds\wsdl.py", line 235, in open_imports
File "suds\wsdl.py", line 316, in load
File "suds\wsdl.py", line 192, in __init__
File "suds\wsdl.py", line 253, in build_schema
File "suds\xsd\schema.py", line 83, in load
File "suds\xsd\schema.py", line 269, in open_imports
File "suds\xsd\sxbasic.py", line 872, in open
File "suds\xsd\sxbasic.py", line 883, in download
File "suds\xsd\schema.py", line 354, in instance
File "suds\xsd\schema.py", line 187, in __init__
File "suds\xsd\schema.py", line 269, in open_imports
File "suds\xsd\sxbasic.py", line 872, in open
File "suds\xsd\sxbasic.py", line 883, in download
File "suds\xsd\schema.py", line 354, in instance
File "suds\xsd\schema.py", line 187, in __init__
File "suds\xsd\schema.py", line 269, in open_imports
File "suds\xsd\sxbasic.py", line 872, in open
File "suds\xsd\sxbasic.py", line 883, in download
File "suds\xsd\schema.py", line 354, in instance
for ~1000 more lines of this, then
File "suds\xsd\sxbasic.py", line 872, in open
File "suds\xsd\sxbasic.py", line 881, in download
File "suds\sax\parser.py", line 121, in parse
File "suds\transport.py", line 130, in open
File "suds\transport.py", line 162, in __open
File "c:\python25\lib\urllib2.py", line 121, in urlopen
return _opener.open(url, data)
File "c:\python25\lib\urllib2.py", line 374, in open
response = self._open(req, data)
File "c:\python25\lib\urllib2.py", line 392, in _open
'_open', req)
File "c:\python25\lib\urllib2.py", line 353, in _call_chain
result = func(*args)
File "c:\python25\lib\urllib2.py", line 1100, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "c:\python25\lib\urllib2.py", line 1072, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "c:\python25\lib\httplib.py", line 862, in request
self._send_request(method, url, body, headers)
File "c:\python25\lib\httplib.py", line 885, in _send_request
self.endheaders()
File "c:\python25\lib\httplib.py", line 856, in endheaders
self._send_output()
File "c:\python25\lib\httplib.py", line 728, in _send_output
self.send(msg)
File "c:\python25\lib\httplib.py", line 695, in send
self.connect()
RuntimeError: maximum recursion depth exceeded
On Dec 15, 8:57 am, Matias <[email protected]> wrote:
> Try checking the specific exception and its message.
>
> Matias.
>
> 2008/12/15 Steve <[email protected]>
>
>
>
>
>
> > 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 fromhttp://www.xmethods.netand
> > 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/TemperatureC...
> > 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 <[email protected]> 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
> > > [email protected]
>
> --
> :wq
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---