J'ai un problème de travail avec PHP SoapClient avec un WS (WSDL) qui contient https. ma version de PHP est 5.2.5. avant de demander, oui, j'utilise les extensions Soap et openSSL de PHP.PHP SoapClient incapable de travailler avec https WS
l'URL que je suis en train d'atteindre est: https://id3check.gb.co.uk/gbportalinternational/aspx/id3check_1b.asmx?WSDL
le code j'utilise:
$url = "https://id3check.gb.co.uk/gbportalinternational/aspx/id3check_1b.asmx?WSDL";
$options["connection_timeout"] = 25;
$options["location"] = $url;
$client = new SoapClient($url,$options);
échoue lors de la construction du SoapClient, et je reçois l'erreur suivante:
Warning: SoapClient::SoapClient(https://id3check.gb.co.uk/gbportalinternational/aspx/id3check_1b.asmx?WSDL): failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\MY-DEV-FOLDER\index.php on line 42 Warning: SoapClient::SoapClient(): I/O warning : failed to load external entity " https://id3check.gb.co.uk/gbportalinternational/aspx/id3check_1b.asmx?WSDL " in C:\MY-DEV-FOLDER\index.php on line 42 Exception thrown - SOAP-ERROR: Parsing WSDL: Couldn't load from ' https://id3check.gb.co.uk/gbportalinternational/aspx/id3check_1b.asmx?WSDL '
quelqu'un peut-il me dire quel est le problème?
grâce
Erez