Note that there are some explanatory texts on larger screens.

plurals
  1. POUncaught SoapFault exception: [HTTP] Error Fetching http headers
    text
    copied!<p>I'm trying to create a soap connection to Magento's web services, however I'm getting an error when I try and create an instance of the soap client class. I can view the wsdl file in firefox without problems and I can watch php make the request for the wsdl in apaches logs but it still fails. Nusoap can connect. </p> <pre><code>$proxy = new SoapClient('someaddress?wsdl'); </code></pre> <p>The error is </p> <pre><code>&lt;b&gt;Fatal error&lt;/b&gt;: Uncaught SoapFault exception: [HTTP] Error Fetching http headers in /home/sites/xxx/xxx_main/system/application/views/contentpage_templates/gift_service.php:29 Stack trace: [internal function]: SoapClient-&amp;gt;__doRequest('&amp;lt;?xml version=&amp;quot;...', 'http://cornishw...', 'urn:Mage_Api_Mo...', 1, 0) [internal function]: SoapClient-&amp;gt;__call('call', Array) /home/sites/xxx/xxx_main/system/application/views/contentpage_templates/gift_service.php(29): SoapClient-&amp;gt;call(NULL, 'catalog_categor...', 5, 'giftshop') /home/sites/xxx/xxx_main/system/application/libraries/MY_Loader.php(586): include('/home/sites/cor...') /home/sites/xxx/xxx_main/system/application/libraries/MY_Loader.php(228): MY_Loader-&amp;gt;_ci_load(Array, '') /home/sites/xxx/xxx_main/system/application/modules/contentpage/controllers/contentpage.php(44): MY_Loader-&amp;gt;view('contentpage_tem...', false, true) [internal function]: Contentpage-&amp;gt;index() /home/sites/xxx in &lt;b&gt;/home/sites/xxx/xxx_main/system/application/views/contentpage_templates/gift_service.php&lt;/b&gt; on line &lt;b&gt;29&lt;/b&gt; </code></pre> <p>Thanks</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload