title: How to send soap request by python?
body: <p>I have soap reqest, and want to send it by python zeep script. </p>
  
  <pre><code>POST /IntegrationService/IntegrationService.asmx HTTP/1.1
  Host: 192.168.66.2
  Content-Type: application/soap+xml; charset=utf-8
  Content-Length: length
  
  &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"&gt;
    &lt;soap12:Body&gt;
      &lt;SendHardwareCommand xmlns="http://parsec.ru/Parsec3IntergationService"&gt;
        &lt;sessionID&gt;guid&lt;/sessionID&gt;
        &lt;territoryID&gt;guid&lt;/territoryID&gt;
        &lt;command&gt;int&lt;/command&gt;
      &lt;/SendHardwareCommand&gt;
    &lt;/soap12:Body&gt;
  &lt;/soap12:Envelope&gt;
  </code></pre>
  
  <p>I try to write it by myself</p>
  
  <pre><code>from pprint import pprint
  from zeep import Client
  CODE = '1'
  LOGIN = 'PARSEC'
  PASSWORD = 'pass'
  client = Client('http://192.168.66.2:10101/IntegrationService/IntegrationService.asmx?wsdl', strict=False)
  
  result = client.service.SendHardwareCommand(
      SendHardwareCommandRequest={'code': CODE, 'MessageType': 0},
      AuthorizationHeader={'login': LOGIN, 'password': PASSWORD})
  pprint(result)
  </code></pre>
  
  <p>How to do it right?</p>