Re: [SOAP] patch for PEAR::SOAP over HTTPS/SSL with certificates
| From: | Shane Caraveo | Date: | Tue, 18 Mar 2003 19:24:45 +0000 |
| Subject: | Re: [SOAP] patch for PEAR::SOAP over HTTPS/SSL with certificates | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-474@lists.php.net to get a copy of this message | ||
Very cool.
I want to change it though to be a bit more generic.
function setopt($category, $option, $value) {
$this->__options[$category][$option] = $value;
}
$soapclient->setopt('curl',CURLOPT_VERBOSE, 1);
This will allow this function to be used for other modules or extensibility that may be needed down the road.
Shane
Jonathan Schilling wrote:
I finally have PEAR::SOAP over HTTPS/SSL with certificates working. In order to do this, PEAR::SOAP needs to be enhanced to allow client applications the ability to set arbitrary curl options. I followed the approach that Peter Clarke suggested earlier for this, but I have added a public interface to resolve an objection from Arnaud Limbourg. So here are my proposed patches to SOAP/Client.php and to SOAP/Transport/HTTP.php: