title: Magento SOAP API - PHP Exception thrown for login method call: "looks like we got no XML document"
body: <p>I'm having issues connecting to the Magento SOAP API via PHP's SoapClient. I have a small test PHP file setup on my dev server with the following code:</p>
  
  <pre><code>&lt;?php
  $soapC = new SoapClient('http://XXXX.com/api/soap/?wsdl', array('trace'=&gt;true, 'exceptions'=&gt;false));
  $session = $soapC-&gt;__soapCall('login', array('TestUsr', 'test123'));
  var_dump($session);
  ?&gt;
  </code></pre>
  
  <p>The PHP file is on the same server as my magento dev build. When I run the php script via the command line, the $session variable outputs a SoapFault object with an error that says "looks like we got no XML document". </p>
  
  <p>Not sure how to resolve this. When I try the code below I'm able to get a print out of all of the API methods, but for some reason the login method call above is causing problems.</p>
  
  <pre><code>$soapC = new SoapClient('http://XXXX.com/api/soap/?wsdl', array('trace'=&gt;true, 'exceptions'=&gt;false));
  print_r($soapC-&gt;__getFunctions());
  </code></pre>