• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Question uncaught soapfault exception Couldn't load from

questlovejc

New Pleskian
Hi

Sorry for my english

I have installed a web site in Plesk.
I have used Soap Client to call services. But i have this error:

AH01071: Got error 'PHP message: PHP Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://mer3-ws.aleda.fr:443/MeR3_Soap/?wsdl' : failed to load external entity "https://mer3-ws.aleda.fr:443/MeR3_Soap/?wsdl"\n in /var/www/vhosts/zanex.masteredition.net/httpdocs/call2coin/api_aleda/Core.php:44\nStack trace:\n#0 /var/www/vhosts/zanex.masteredition.net/httpdocs/call2coin/api_aleda/Core.php(44): SoapClient->__construct()\n#1 /var/www/vhosts/zanex.masteredition.net/httpdocs/call2coin/supply.php(7): include('...')\n#2 {main}\n thrown in /var/www/vhosts/zanex.masteredition.net/httpdocs/call2coin/api_aleda/Core.php on line 44'

Since SSH terminal, i cannot reach the wsdl with curl and wget (timeout).

Below my php code:

// Initialize WS with the WSDL
$context = stream_context_create([
'ssl' => [
// set some SSL/TLS specific options
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => false,
'cafile' => '/etc/ssl/certs/cacert.pem'
],
]);
$client = new SoapClient($configs['url'], ['cache_wsdl' => 0,
'trace' => 1,
'stream_context' => $context,
'cache_wsdl' => WSDL_CACHE_NONE
]);


Thank you for your help
 
I recommend to post this question to stackoverflow.com, because it is not related to Plesk, but a question on how to properly do SOAP requests.
 
Back
Top