• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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