Failed to load external entity
<p>I am trying to integrate fedex API and getting this error .</p>
<blockquote>
<p>Warning: SoapClient::SoapClient() [soapclient.soapclient]: I/O warning : failed to load external entity &quot;../wsdl/RateService_v13.wsdl&quot; in test.php on line 12</p>
<p>Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from '../wsdl/RateService_v13.wsdl' in D:\wamp\www\fedexapi\AddressValidationService_v4_php\php\AddressValidationWebServiceClient\rate_test.php:12 Stack trace: #0 D:\wamp\www\fedexapi\AddressValidationService_v4_php\php\AddressValidationWebServiceClient\rate_test.php(12): SoapClient-&gt;SoapClient('../wsdl/RateSer...', Array) #1 {main} thrown in test.php on line 12</p>
</blockquote>
<pre><code>&lt;?php
// Copyright 2009, FedEx Corporation. All rights reserved.
// Version 2.0.0

require_once('../library/fedex-common.php5');

//The WSDL is not included with the sample code.
//Please include and reference in $path_to_wsdl variable.
$path_to_wsdl = &quot;../wsdl/LocationsService_v3.wsdl&quot;;

ini_set(&quot;soap.wsdl_cache_enabled&quot;, &quot;0&quot;);

$client = new SoapClient($path_to_wsdl, array('trace' =&gt; 1)); // Refer to http://us3.php.net/manual/en/ref.soap.php for more information

$request['WebAuthenticationDetail'] = array(
        'ParentCredential' =&gt; array(
            'Key' =&gt; getProperty('parentkey'),
            'Password' =&gt; getProperty('parentpassword')
        ),
        'UserCredential' =&gt; array(
            'Key' =&gt; getProperty('key'), 
            'Password' =&gt; getProperty('password')
    )
);

?&gt;
</code></pre>
<p>How to solve this ?</p>