title: XML request is not well-formed or request is incomplete to call Elavon api to generate token
body: <p>I am trying to send an xml request to generate token
  the code is</p>
  <pre><code>import requests
  
  url = &quot;https://api.demo.convergepay.com/VirtualMerchantDemo/processxml.do&quot;
  
  dataXml = &quot;&quot;&quot;
  &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;txn&gt;
      &lt;ssl_merchant_id&gt;mercentId&lt;/ssl_merchant_id&gt;
      &lt;ssl_user_id&gt;userID&lt;/ssl_user_id&gt;
      &lt;ssl_pin&gt;sslPin&lt;/ssl_pin&gt;
      &lt;ssl_transaction_type&gt;ccgettoken&lt;/ssl_transaction_type&gt;
      &lt;ssl_card_number&gt;0000000000000000&lt;/ssl_card_number&gt;
      &lt;ssl_exp_date&gt;1222&lt;/ssl_exp_date&gt;
      &lt;ssl_avs_address&gt;7300&lt;/ssl_avs_address&gt;
      &lt;ssl_avs_zip&gt;12345&lt;/ssl_avs_zip&gt;
      &lt;ssl_verify&gt;N&lt;/ssl_verify&gt;
  &lt;/txn&gt;
  &quot;&quot;&quot;
  
  
  x = requests.post(url, data=dataXml)
  
  
  print(x.text)
  </code></pre>
  <p>But i am getting below error</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;txn&gt;&lt;errorCode&gt;6042&lt;/errorCode&gt;&lt;errorName&gt;Invalid Request Format&lt;/errorName&gt;&lt;errorMessage&gt;XML request is not well-formed or request is incomplete.&lt;/errorMessage&gt;&lt;/txn&gt;
  </code></pre>
  <p>What is the wrong with my request ?</p>