I'm getting an error when using SoapClient() request. No matter which param I use, the issue remains. The server uses Nginx.
The SOAP error: http://lecturaparatodos.cl/soap.php
I check if SOAP enabled, and it's: http://lecturaparatodos.cl/soap-check.php
I chekck OpenSSL, SimpleXMLand all I think I need and it's ok: http://lecturaparatodos.cl/info.php
Here's the sample code in soap.php:
echo time();
$client = new \SoapClient("https://demo.l1nda.nl/api/webservice/?wsdl",
[
"trace" => 1,
"exceptions" => true,
'cache_wsdl' => WSDL_CACHE_NONE,
'soap_version' => SOAP_1_2,
'ssl' => [
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true
]
]
);
var_dump($client->__getFunctions());
SOAP error: http://lecturaparatodos.cl/soap.php
SOAP Check: http://lecturaparatodos.cl/soap-check.php
PHP info: http://lecturaparatodos.cl/info.php
I try everything I found on Google, here and other forums. All required modules are installed, updated and nothing seems to work. If I move to another server, works perfectly. I need to keep the website on the current server that's why I ask for advice.
Thanks!