Page 1 of 1

SoapClient https bug xampp 1.7.7

PostPosted: 21. March 2012 20:20
by lancecaraccioli
On my linux workstation this code works

Code: Select all
$url = "";
$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 '' 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?


Re: SoapClient https bug xampp 1.7.7

PostPosted: 13. April 2012 11:48
by renholder
Just add this line to php.ini
Code: Select all

It works for me.