• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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