title: Magento REST API fault: invalid xml
body: <p>looks like my question is the same as this one: <a href="https://stackoverflow.com/questions/41722837/magento-rest-api-invalid-xml">Magento Rest Api Invalid XML</a>
  but it is not still answered..</p>
  
  <p>I just installed magento 1.9 with sample data on my localhost and trying to test REST API.
  I setted REST roles and REST attributes to ALL in admin panel.
  But when I trying to enter in browser the following URL: <a href="http://magentohost/api/rest/products?limit=2" rel="nofollow noreferrer">http://magentohost/api/rest/products?limit=2</a></p>
  
  <p>I receive the response:</p>
  
  <pre><code>&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"&gt;
    &lt;script/&gt;
    &lt;SOAP-ENV:Body&gt;
      &lt;SOAP-ENV:Fault&gt;
        &lt;faultcode&gt;Sender&lt;/faultcode&gt;
        &lt;faultstring&gt;Invalid XML&lt;/faultstring&gt;
      &lt;/SOAP-ENV:Fault&gt;
    &lt;/SOAP-ENV:Body&gt;
  &lt;/SOAP-ENV:Envelope&gt;
  </code></pre>
  
  <p>error_log is empty,</p>
  
  <p>access_log: </p>
  
  <pre><code>GET /magentohost/api/rest/products?limit=2 HTTP/1.1" 500
  </code></pre>
  
  <p>Looks like I missed something in settings.. 
  Thanks for any help!</p>