title: SOAP Parsing WSDL error with PHP
body: <p>I need to connect to a web service with <code>SOAP</code>. 
  So, I have a key (it gives me by the company owner of the service. It was created to allow the request only from my static IP) because the service requires authentication.</p>
  
  <p><strong>My code is:</strong> </p>
  
  <pre><code>$url = "http://www.visirun.com/public/Server.php?wsdl";
  $chiave = Array("key"=&gt;"MYKEY") ;
  $funzione = "getFleetCurrentPosition";
  $namespace = Array("namespace"=&gt;"urn:Tracking") ;
  
  try {   
  $soapClient = new SoapClient($url, $chiave);
  $soapResult = $soapClient-&gt;__soapCall($funzione, $namespace) ;  
  }
  catch(Exception $e) {
      die($e-&gt;getMessage());
  }
  </code></pre>
  
  <p>This code give me this <strong>error:</strong> </p>
  
  <blockquote>
    <p>SOAP-ERROR: Parsing WSDL: Couldn't load from
    '<a href="http://www.visirun.com/public/Server.php?wsdl" rel="nofollow">http://www.visirun.com/public/Server.php?wsdl</a>' : failed to load
    external entity "<a href="http://www.visirun.com/public/Server.php?wsdl" rel="nofollow">http://www.visirun.com/public/Server.php?wsdl</a>"</p>
  </blockquote>
  
  <p>Could someone explain me how to solve this error?</p>