Hi,
I have recently moved from a shared hosting to Plex 12, my existing SOAP code is working fine at PHP 5.4 but generating bugs on PHP 5.6. The same soap code is working fine at my shared host with different company.
The SOAP code runs fine at PHP 5.4 but throwing following error after switching to PHP 5.6.30:
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://www.ourwebsiteurl.com/index.php/api/soap/index/wsdl/1/’ : failed to load external entity "https://www. ourwebsiteurl.com/index.php/api/soap/index/wsdl/1/" in /var/www/vhosts/ ourwebsiteurl.com/httpdocs/api_calls/get_order_API_v3.php:71 Stack trace: #0 /var/www/vhosts/ ourwebsiteurl.com/httpdocs/api_calls/get_order_API_v3.php(71): SoapClient->__call('login', Array) #1 /var/www/vhosts/ ourwebsiteurl.com/httpdocs/api_calls/get_order_API_v3.php(71): SoapClient->login('loginid', 'password') #2 {main} thrown in /var/www/vhosts/ ourwebsiteurl.com/httpdocs/api_calls/get_order_API_v3.php on line 71
Please help.
Thanks.
I have recently moved from a shared hosting to Plex 12, my existing SOAP code is working fine at PHP 5.4 but generating bugs on PHP 5.6. The same soap code is working fine at my shared host with different company.
The SOAP code runs fine at PHP 5.4 but throwing following error after switching to PHP 5.6.30:
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://www.ourwebsiteurl.com/index.php/api/soap/index/wsdl/1/’ : failed to load external entity "https://www. ourwebsiteurl.com/index.php/api/soap/index/wsdl/1/" in /var/www/vhosts/ ourwebsiteurl.com/httpdocs/api_calls/get_order_API_v3.php:71 Stack trace: #0 /var/www/vhosts/ ourwebsiteurl.com/httpdocs/api_calls/get_order_API_v3.php(71): SoapClient->__call('login', Array) #1 /var/www/vhosts/ ourwebsiteurl.com/httpdocs/api_calls/get_order_API_v3.php(71): SoapClient->login('loginid', 'password') #2 {main} thrown in /var/www/vhosts/ ourwebsiteurl.com/httpdocs/api_calls/get_order_API_v3.php on line 71
Please help.
Thanks.