Python-zeep: Unable to parse response

Created on 14 Nov 2016  路  4Comments  路  Source: mvantellingen/python-zeep

zeep v 0.22.0

Services is not available for public use, so I can't just provide wsdl and example script =(

gist with elements schemas
gist with response xml

Parse this response as is leads to the memory overflow.
Response after limiting max_occurs for 'unbounded' in max_occurs_iter with next code:

def max_occurs_iter(max_occurs):
    assert max_occurs is not None
    if max_occurs == 'unbounded':
        return range(0, 1000)
    else:
        return range(max_occurs)
bug componenxsd

All 4 comments

Can you create an example script for me? Please see http://docs.python-zeep.org/en/master/reporting_bugs.html

This saves me so much time..

Should be fixed now, thanks for teh report

Thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ZeWaren picture ZeWaren  路  3Comments

olivierverville picture olivierverville  路  3Comments

alexdemari picture alexdemari  路  4Comments

ryan-mccaffrey picture ryan-mccaffrey  路  5Comments

YAmikep picture YAmikep  路  3Comments