zendframework / zend-soap

Soap component from Zend Framework
BSD 3-Clause "New" or "Revised" License
75 stars 42 forks source link

SoapClient Trace/Exception Options #37

Open mrbinr opened 7 years ago

mrbinr commented 7 years ago

In PHP SOAP documentation http://php.net/manual/fr/class.soapclient.php

$client = new SoapClient($url, array("trace" => 1, "exception" => 0));

it's possible to set options trace or exception when we instanciate SoapClient.

Now, in Zend Soap, in src/Client.php line 1051 we can see that trace option is always set to true and there no way set change its value; and for exception option it seems that there is no default value. If we try to set trace or exception in options parameters we have an error « Unknown SOAP client option ».

Is there another way to set those values ?

Thanks

Best Regards, Pascall

weierophinney commented 4 years ago

This repository has been closed and moved to laminas/laminas-soap; a new issue has been opened at https://github.com/laminas/laminas-soap/issues/12.