Fixed: Uncaught SoapFault exception: [HTTP] Error Fetching http headers using PHP SOAP

For me this error was caused by having logical errors in the PHP script that my SOAP service was calling.

$client = new SoapClient('', array('trace' => 1));
$client->__setCookie('XDEBUG_SESSION', 'PHPSTORM');

$session = $client->login('username', 'password');

try {
$result = $client->call(
echo "
echo "</pre>
} catch (SoapFault $e) {
echo $e->getMessage()


To debug a SOAP service, pass the XDEBUG cookie by setting it to the SOAP request:
$client->__setCookie('XDEBUG_SESSION', 'PHPSTORM');
Don’t use the browser bookmarklet if you’ve got one of those.

Magento: Create Free Shipping Rule

In Admin panel:

  1. Create a new Shopping Cart Price Rule.
  2. On the conditions tab, specify your conditions.
  3. On the Actions tab, set ‘Free Delivery’ to something other than ‘No’
  4. Save rule.
  5. Enable Free Shipping shipping method in System > Configuration.
  6. Set Minimum Order Amount to something ridiculously high.
  7. Save configuration.
  8. Test your rule.