- Code: Select all
$url = "https://www.example.com/service.php?wsdl";
$client = new SoapClient($url);
$result = $client->authenticate('username','password');
however the same code on my windows machine under xampp 1.7.7 returns the error
"Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://www.example.com/service.php?wsdl' failed to load external entity ... "
I have verified that this soap end point works properly using soapUI.
previous versions of xampp required php_openssl extension to be uncommented in php.ini
this does not seem to be the cause anymore as my installation does not even contain that extension commented out as previous xampp version have.
How do I properly configure xampp so that a simple soap connection over https will work properly?