Creating the xml format to pass to zeep : <p>I'm new to zeep. 
I have the following that works very well:</p>

<pre><code>import zeep

from zeep.cache import SqliteCache

from zeep.transports import Transport
wsdl = 'https://emaapitest.eset.com/Services/v2015_1/MSPService.svc?singleWsdl'
transport = Transport(cache=SqliteCache())
client = zeep.Client(wsdl=wsdl, transport=transport )
</code></pre>

<p>With the above I can use the defined API for most calls.
For example:</p>

<pre><code>data = {'Username': 'xxxx123',  'Password': 'Secretpassword'}
loginreq = client.service.Login(data)

data = {'LoginID': 'xxxyyy', 'Token': 'gregrwevds543',  'CompanyID': 123}
company_details = client.service.GetCompanyDetails(data)
</code></pre>

<p>That all works well.
However the API call to UpdateSite needs a different format as below:</p>

<pre><code>&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/" xmlns:msp="http://schemas.datacontract.org/2004/07/MSPApi.Services.v2015_1.Requests"&gt;
       &lt;soapenv:Header/&gt;
       &lt;soapenv:Body&gt;
          &lt;tem:UpdateSite&gt;
         &lt;tem:request&gt;
            &lt;msp:LoginID&gt;123abc&lt;/msp:LoginID&gt;
            &lt;msp:Token&gt;hpjzncpduqyfreyakcsdilqv&lt;/msp:Token&gt;
                  &lt;msp:LicenseRequests&gt;
                       &lt;LicenseRequest xmlns:d7="http://schemas.datacontract.org/2004/07/MSPApi.Services.v2015_1.Requests"
                    i:type="d7:LicenseCreateRequest" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.Services.v2015_1.ViewModels"&gt;
                           &lt;d7:ProductCode&gt;112&lt;/d7:ProductCode&gt;
                           &lt;d7:Quantity&gt;3&lt;/d7:Quantity&gt;
                           &lt;d7:Trial&gt;false&lt;/d7:Trial&gt;
                       &lt;/LicenseRequest&gt;
                 &lt;/msp:LicenseRequests&gt;
            &lt;msp:SiteID&gt;123456&lt;/msp:SiteID&gt;
         &lt;/tem:request&gt;
          &lt;/tem:UpdateSite&gt;
       &lt;/soapenv:Body&gt;
    &lt;/soapenv:Envelope&gt;
</code></pre>

<p>That is I need to change the namespace on the LicenseRequest.
Is there any way I can generate this xml (say using etree maybe) and then pass this into zeep?
Exact syntax would be a great help.
Thanks for any help in advance.</p>
