Pudon suds shows the following problems: "RuntimeError: maximum recursion depth",

I start the documentum web service, for which I start with simple code:

from suds.client import Client #@UnresolvedImport from suds.transport.https import HttpAuthenticated import urllib2 t=HttpAuthenticated(username='x', password='x') t.handler = urllib2.HTTPBasicAuthHandler(t.pm) t.urlopener = urllib2.build_opener(t.handler) url = 'http://hudt17:8888/services/core/ObjectService?wsdl' client = Client(url,transport=t) print client 

It works fine if url='http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl' . But I have this error returned to me if it is not:

https://docs.google.com/document/pub?id=1Qk8_qji385B9fZB-z4eMbPc1fv1AXVKEtbxr7Xx6AvQ

What's going on here?

+4
python suds
Apr 21 '11 at 10:27
source share
4 answers

There is a fix for this problem:

https://fedorahosted.org/suds/attachment/ticket/239/recurselevel-schema.py.patch

Click the "Original Format" link at the bottom of the page. Then you can apply the patch using:

patch schema.py < recurselevel-schema.py.patch

Then install suds source from the top-level source:

easy_install .

+5
Apr 12 2018-12-12T00:
source share

You are referencing an XSD schema that is referencing itself.

Or, which refers to another scheme, which refers to the first.

In any case, one or more circuits having a circular dependence.

+1
Apr 21 2018-11-11T00:
source share

This is considered a Suds tracker blocking error: https://fedorahosted.org/suds/ticket/239

Unfortunately, this problem has been open for more than 3 years since 2012.

+1
Feb 27 2018-12-22T00:
source share

I ran into the same problem while consuming a huge wsdl with multiple incoming and loopback calls. The version of suds-jurko version 0.6 does not support this, but current developers are cutting back on v0.7, it seems to solve this problem.

Must show:

foaming-Jurko == 0.7.dev0

0
Mar 24 '16 at 22:31
source share



All Articles