title: Magento Api Error Fatal error: Uncaught SoapFault exception: [4] Resource path is not callable
body: <p>When I run following code in magento root </p>
  
  <pre><code>&lt;?php
  $client = new SoapClient('http://localhost/mymagento/index.php/api/v2_soap/index?wsdl=1', array('cache_wsdl' =&gt; WSDL_CACHE_NONE));
  $session = $client-&gt;login('testuser', 'testuser');              
      $result = $client-&gt;salesOrderList($session);                    
  echo"&lt;pre&gt;";
      print_r($result);
  echo"&lt;/pre&gt;";
  ?&gt;
  </code></pre>
  
  <p>I am getting following error</p>
  
  <pre><code>   Fatal error: Uncaught SoapFault exception: [4] Resource path is not callable. in /var/www/html/mymagento/sales_order.php:9
  Stack trace:
  #0 /var/www/html/mymagento/sales_order.php(9): SoapClient-&gt;__call('salesOrderList', Array)
  #1 /var/www/html/mymagento/sales_order.php(9): SoapClient-&gt;salesOrderList('98850601ed8aa6f...')
  #2 {main}
    thrown in /var/www/html/mymagento/sales_order.php on line 9
  </code></pre>
  
  <p>But when I run</p>
  
  <pre><code>$result = $client-&gt;salesOrderInfo($session,'100000030');   
  </code></pre>
  
  <p>No error comes.</p>
  
  <p>How to fix this?
  Please help</p>