Failed to load external object error in SOAP

I am calling a web service that is in the https protocol. and when I call, I get the error "failed to load external entity."

as I search on google because in PHP5 the SOAP class will not parse the WSDL file located on a secure HTTPS connection.

what's the solution? I do not want to use http instead of https.

+6
soap php
source share
1 answer

To be able to read from a secure protocol (https), you need to have the openssl extension from php.ini in the extensions section.

+18
source share

All Articles