Hi,
I am having an issue WITH THE SOAP client that I wrote trying to connect to a web service over a SSL connection. It turned out that the SSL certificate is not installed properly on the server with the web service and I need to some how bypass or ignore it. I came across the following article that demonstrates how to bypass SSL using PEAR library and SOAP package. So, I activated PEAR, installed SOAP package and it worked.
http://www.mobinode.com/2006/03/27/using-pear-soap-package-with-ssl-connection/Now, if you look at the code in the article there is a method called 'setOpt' that allows one to specify SSL verification modes as follow:
$soapClient->setOpt('curl'
, CURLOPT_SSL_VERIFYPEER, 0);
$soapClient->setOpt('curl'
, CURLOPT_SSL_VERIFYHOST, 0);
My question is if anyone knows of similar method like 'setOpt' for the SoapClient class in PHP 5 that does the same thing. I am running PHP 5 on our server and I don't want to roll back to PEAR and SOAP package which was really designed for PHP 4.
Thanks