Currently the SoapServer() class accepts several parameters on __construct that we are even not setting. We can include the SOAP options form_altering the endpoint settings form, or in additional settings for SOAP following the same structure I described for the WSDL.

This can be much more usable than the hardcoded ini_set() allowing different settings for every endpoint.

More information: http://www.php.net/manual/es/soapserver.soapserver.php