I have a PHP code that allows me to connect to a webservice:
<?php
$client = new SoapClient("https://ws.chronopost.fr/shipping-cxf/ShippingServiceWS?wsdl");
?>
When I do it, I get the error
"Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://ws.chronopost.fr/shipping-cxf/ShippingServiceWS?wsdl' : failed to load external entity "https://ws.chronopost.fr/shipping-cxf/ShippingServiceWS?wsdl" in C:..."
I have an old web server running PHP 5.3.9. In the PHP.ini saop is activated:
If I open the page https://ws.chronopost.fr/shipping-cxf/ShippingServiceWS?wsdl on a server browser, it works correctly.
What is the cause of the error?
Thanks for your help,
