Skip to content

Instantly share code, notes, and snippets.

@johnkary
Created July 12, 2012 17:04
Show Gist options
  • Save johnkary/3099344 to your computer and use it in GitHub Desktop.
Save johnkary/3099344 to your computer and use it in GitHub Desktop.
PHP \SoapClient with Exception tracing
<?php
$client = new \SoapClient('https://domain.com/path/to/service.wsdl', array(
'exceptions' => TRUE,
'trace' => TRUE,
'soap_version' => SOAP_1_1,
'location' => 'https://domain.com/path/to/endpoint',
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment