title: API takes only half of my list
body: <p>As suggested in this answer <a href="https://stackoverflow.com/questions/46361632">A Python dictionary with repeated fields</a> , I'm trying to send a list of dicts to an API with python and the zeep module.</p>
  
  <p>But, the API receive only half of my data.</p>
  
  <p>The API expects a dict and takes the argument dataArray like this:</p>
  
  <pre><code>&lt;dataArray&gt;
    &lt;AccountingYearData&gt;
      &lt;Handle&gt;
        &lt;Year&gt;string&lt;/Year&gt;
      &lt;/Handle&gt;
      &lt;Year&gt;string&lt;/Year&gt;
      &lt;FromDate&gt;dateTime&lt;/FromDate&gt;
      &lt;ToDate&gt;dateTime&lt;/ToDate&gt;
      &lt;IsClosed&gt;boolean&lt;/IsClosed&gt;
    &lt;/AccountingYearData&gt;
    &lt;AccountingYearData&gt;
      &lt;Handle&gt;
        &lt;Year&gt;string&lt;/Year&gt;
      &lt;/Handle&gt;
      &lt;Year&gt;string&lt;/Year&gt;
      &lt;FromDate&gt;dateTime&lt;/FromDate&gt;
      &lt;ToDate&gt;dateTime&lt;/ToDate&gt;
      &lt;IsClosed&gt;boolean&lt;/IsClosed&gt;
    &lt;/AccountingYearData&gt;
  &lt;/dataArray&gt;
  </code></pre>
  
  <p>Se this link for the full string <a href="https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=AccountingYear_CreateFromDataArray" rel="nofollow noreferrer">https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?op=AccountingYear_CreateFromDataArray</a> </p>
  
  <p>So I do like this:</p>
  
  <pre><code>data = [
      {
          'AccountingYearData':{
              'Handle':{'Year':'2018'}, 
              'Year':'2018',
              'FromDate':'2018-01-01', 
              'ToDate':'2018-12-31', 
              'IsClosed':'False'
              },
          },
      {
          'AccountingYearData':{
              'Handle':{'Year':'2019'}, 
              'Year':'2019',
              'FromDate':'2019-01-01', 
              'ToDate':'2019-12-31', 
              'IsClosed':'False'
              },
          },
      ]
  
  c.service.AccountingYear_CreateFromDataArray(dataArray = data)
  </code></pre>
  
  <p>But with this the API only gets half of the data.</p>
  
  <p>Inserting the list into a dict like this:</p>
  
  <pre><code>data = {
      'dataArray': {
          [
              {...},
              {...}
          ]
      }
  }
  
  c.service.AccountingYear_CreateFromDataArray(data)
  </code></pre>
  
  <p>Is not accepted by the API.</p>
  
  <p>Is there a way out of that?</p>
  
  <p>Best Regards
  Kresten</p>
  
  <p>EDIT:</p>
  
  <p>My full code is this:</p>
  
  <pre><code>from zeep import Client
  import datetime
  
  AppSecretToken = 'xxxx'
  AgreementGrantToken = 'xxxx'
  
  c = Client("https://api.e-conomic.com/secure/api1/EconomicWebService.asmx?WSDL")
  c.service.ConnectWithToken(token=AgreementGrantToken, appToken=AppSecretToken)
  
  data = [\
      {'AccountingYearData': {\
          'Handle': {'Year': '2018'},\
          'Year': '2018',\
          'FromDate': datetime.date(2018,1,1),\
          'ToDate': datetime.date(2018,12,31), \
          'IsClosed': False }\
      }, \
      {'AccountingYearData': {\
          'Handle': {'Year': '2019'},\
          'Year': '2019',\
          'FromDate': datetime.date(2019,1,1),\
          'ToDate': datetime.date(2019,12,31), \
          'IsClosed': False }\
      } \
  ]\
  
  print(c.service.AccountingYear_CreateFromDataArray(dataArray = data))
  
  data = {'dataArray': \
  [\
      {'AccountingYearData': {\
          'Handle': {'Year': '2018'},\
          'Year': '2018',\
          'FromDate': datetime.date(2018,1,1),\
          'ToDate': datetime.date(2018,12,31), \
          'IsClosed': False }\
      }, \
      {'AccountingYearData': {\
          'Handle': {'Year': '2019'},\
          'Year': '2019',\
          'FromDate': datetime.date(2019,1,1),\
          'ToDate': datetime.date(2019,12,31), \
          'IsClosed': False }\
      } \
  ]\
  }
  
  print(c.service.AccountingYear_CreateFromDataArray(data))
  </code></pre>
  
  <p>Response:</p>
  
  <pre><code>[{
      'Year': '2018'
  }]
  None
  </code></pre>