Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from

Tags:

php

soap

wamp

I'm doing some SOAP exercises

But, I cannot get that to work on WAMP.

Error which I'm getting is:

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://www.creditsafe.fr/getdata/service/CSFRServices.asmx?WSDL:8080' : failed to load external entity "https://www.creditsafe.fr/getdata/service/CSFRServices.asmx?WSDL:8080" in C:\wamp\www\GESTION\add_debiteur.php:128 Stack trace: #0 C:\wamp\www\GESTION\add_debiteur.php(128): SoapClient->SoapClient('https://www.cre...') #1 C:\wamp\www\GESTION\index.php(1360): include('C:\wamp\www\GES...') #2 {main} thrown in C:\wamp\www\GESTION\add_debiteur.php on line 128

$client = new SoapClient("http://footballpool.dataaccess.eu/data/info.wso?WSDL");
$wsdl = "https://www.creditsafe.fr/getdata/service/CSFRServices.asmx?WSDL";
$client = new SoapClient($wsdl);

Google does not know the answer. Any suggestion much appreciated.

like image 928
Stanislas Piotrowski Avatar asked Oct 02 '12 12:10

Stanislas Piotrowski


1 Answers

The trouble was solved. In fact when I had so errors using WAMP(orange icon) I decided to set it up again.

So I installed the newest version of WAMP but there was no the same php.ini as I used previously and in fact the trouble was that on the php.ini I had to make active the line ;extension=php_openssl.dll

so I just removed the ;character and this line has become like extension=php_openssl.dll

Now it works fine.

like image 176
Stanislas Piotrowski Avatar answered Sep 22 '22 22:09

Stanislas Piotrowski