Je n'arrive pas à comprendre pourquoi le script ci-dessous ne fonctionne pas.
Code : Tout sélectionner
try
{
$client = new SoapClient ("http://xx.xx.xx.xx:8080/web/services/infoPerso?wsdl");
var_dump($client->__getFunctions());
}
catch(Exception $e)
{
echo "Exception: " . $e;
}Là, dans le premier cas, j'ai le message d'erreur suivant :
Exception: SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://xx.xx.xx.xx:8080/web/services/infoPerso' : failed to load external entity "http://xx.xx.xx.xx:8080/web/services/infoPerso" in /applis/apache2/htdocs/monsite/test.php:5 Stack trace: #0 /applis/apache2/htdocs/monsite/test.php(5): SoapClient->SoapClient('http://xx.xx.xx.xx:8080/...') #1 {main}
Le module soap est pourtant bien activé au niveau du .ini. De quoi cela peut-il venir alors ?
Have a sunny day
Féfé