You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Client hanging forever after receiving the reponse #1457
Beginner with zeep here, I'm trying to make a simple SOAP request to an external web service (eur lex, the EU law directory). It seems like the request is working, I added logging and tried adding a custom plugin to log the output that I received back. The response seems fine (at least among all the bloat I can see the result that I expected to receive back).
However, after the answer being logged, my code is hanging forever and my computer's fans get pretty loud, as if stuck somewhere. When interrupting the code, it always seem to be somewhere around zeep\xsd\elements\indicators.py.
When adding setting raw_response=True, I get the raw content fine and everything works. I am then able to parse the XML myself using lxml.
PS :
XML Response (saved as .txt for github) : envelope.txt
Response saved using the following custom plugin :
I'm stuck with the same issue - while reading around, I've noticed that the resulting Eur-Lex Webservice XML doesn't validate against the XSD. Maybe it would be useful to have a setting that disables validation?
EDIT:
Eur-Lex Webservice works also with raw_response=False (default) when restricting the Webservice output using an appropriate SELECT clause (i.e. a SELECT that doesn't include the fields /searchResults/result/content/NOTICE/MANIFESTATION/MANIFESTATION_OFFICIAL-JOURNAL_PART_PAGES_TOTAL and /searchResults/result/content/NOTICE]/WORK/ WORK_CREATED_BY_AGENT/type). For example, SELECT TI FROM ... should work with zeep and default settings.
Activity
tohuuuuu commentedon Sep 1, 2026
I'm stuck with the same issue - while reading around, I've noticed that the resulting Eur-Lex Webservice XML doesn't validate against the XSD. Maybe it would be useful to have a setting that disables validation?
EDIT:
Eur-Lex Webservice works also
with raw_response=False(default) when restricting the Webservice output using an appropriate SELECT clause (i.e. a SELECT that doesn't include the fields/searchResults/result/content/NOTICE/MANIFESTATION/MANIFESTATION_OFFICIAL-JOURNAL_PART_PAGES_TOTALand/searchResults/result/content/NOTICE]/WORK/ WORK_CREATED_BY_AGENT/type). For example,SELECT TI FROM ...should work with zeep and default settings.