diff --git a/src/BeSimple/SoapClient/SoapClient.php b/src/BeSimple/SoapClient/SoapClient.php index 5e7ba02..10de074 100644 --- a/src/BeSimple/SoapClient/SoapClient.php +++ b/src/BeSimple/SoapClient/SoapClient.php @@ -45,6 +45,8 @@ class SoapClient 'debug' => false, 'cache_type' => null, 'namespace' => null, + 'exceptions' => true, + 'user_agent' => 'BeSimpleSoap', ); // check option names and live merge, if errors are encountered Exception will be thrown @@ -167,7 +169,9 @@ class SoapClient 'cache_wsdl' => $this->options['cache_type'], 'trace' => $this->options['debug'], 'classmap' => $this->getClassmap(), + 'exceptions' => $this->options['exceptions'], 'typemap' => $this->getTypemap(), + 'user_agent' => $this->options['user_agent'], ); }