title: Uncaught PHP Exception SoapFault: "Not Found"
body: <p>I have a problem to access to my SOAP webservice.</p>
  
  <p>the senario :
  i call a fonction getAccountInfos</p>
  
  <pre><code>private function getAccountInfos($authKey){
      $wsdlAccount = $this-&gt;container-&gt;getParameter('wsdlAccounts');
      $clientWC    = new \SoapClient($wsdlAccount, array('cache_wsdl' =&gt; WSDL_CACHE_MEMORY));
  
      $r = $clientWC-&gt;getAcctInformations($authKey);
      if (isset($r["data"]))
          $acctId = $r["data"]["Id"];
      else
          $acctId = "0";
  
      return $acctId;
  }
  </code></pre>
  
  <p>when i want call getAcctInformations($authKey) i get this exception :</p>
  
  <pre><code>Uncaught PHP Exception SoapFault: "Not Found" at C:\wamp\www\apishop\src\Apitic\IntranetBundle\Controller\HomeController.php line 548
  </code></pre>
  
  <p>here is the var_dump :</p>
  
  <pre><code>var_dump($wsdlAccount) : 
    string 'http://api.web-caisse.dev/wsdl/accounts.wsdl' (length=44)
  var_dump($clientWC-&gt;__getFunctions()) :
    array (size=8)
      ...
      1 =&gt; string 'UNKNOWN getAcctInformations(string $authKey)' (length=44)
      ...
  </code></pre>
  
  <p>and here my accounts.wsdl : </p>
  
  <pre><code>&lt;?xml version ='1.0' encoding ='UTF-8' ?&gt;
  &lt;definitions name='AccountsList' 
                       targetNamespace='http://api.web-caisse.dev/wsdl/accounts.wsdl' 
                       xmlns:tns='http://api.web-caisse.dev/wsdl/accounts.wsdl' 
                       xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' 
                       xmlns:xsd='http://www.w3.org/2001/XMLSchema' 
                       xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/' 
                       xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' 
                       xmlns='http://schemas.xmlsoap.org/wsdl/'&gt;
  
    ...
  
  &lt;message name='getAcctInformationsRequest'&gt;
      &lt;part name='authKey' type='xsd:string'/&gt;
  &lt;/message&gt;
  &lt;message name='getAcctInformationsResponse'&gt;
      &lt;part name='Result' type='xsd:array'/&gt;
  &lt;/message&gt;
  
    ...
  
  &lt;portType name='AccountsListPortType'&gt;
     ...
      &lt;operation name='getAcctInformations'&gt;
          &lt;documentation&gt;Returns the account information.&lt;/documentation&gt;
          &lt;input message='tns:getAcctInformationsRequest'/&gt;
          &lt;output message='tns:getAcctInformationsResponse'/&gt;
      &lt;/operation&gt;
    ...
  &lt;/portType&gt;
  
  &lt;binding name='AccountsListBinding' type='tns:AccountsListPortType'&gt;
      &lt;soap:binding style='rpc' transport='http://schemas.xmlsoap.org/soap/http'/&gt;
  
    ...
  
      &lt;!-- getAcctInformations --&gt;
      &lt;operation name='getAcctInformations'&gt;
          &lt;soap:operation soapAction='urn:xmethods-delayed-quotes#getAccounts'/&gt;
          &lt;input /&gt;
          &lt;soap:body use='encoded' namespace='urn:xmethods-delayed-quotes' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/&gt;
          &lt;output&gt;
              &lt;soap:body use='encoded' namespace='urn:xmethods-delayed-quotes' encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/&gt;
          &lt;/output&gt;
      &lt;/operation&gt;
  
    ...
  &lt;/binding&gt;
  
  &lt;service name='AccountsList'&gt;
      &lt;port name='AccountsList' binding='tns:AccountsListBinding'&gt;
          &lt;soap:address location='http://api.web-caisse.dev/wsdl/accounts.wsdl'/&gt;
      &lt;/port&gt;
  &lt;/service&gt;
  </code></pre>
  
  <p></p>
  
  <p>and my vHost :</p>
  
  <pre><code># api.web-caisse.dev
  &lt;VirtualHost 127.0.0.1&gt;
     Header set Access-Control-Allow-Origin "*"
     Header set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT"
     Header set Access-Control-Allow-Headers "SOAPAction, content-type"
  
     DocumentRoot C:/wamp/www/webcaisse/apioffice
     ServerName api.web-caisse.dev
   &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>my host :</p>
  
  <pre><code> 127.0.0.1 api.web-caisse.dev
  </code></pre>
  
  <p>I don't understand why i have this exception because the url of my service in my wsdl is the same that my var_dump and the SOAP client know the fonction getAcctInformations($authKey)...</p>
  
  <p>So thanks for the help in advance.</p>