开发者

failed to load external entity error on SOAP

开发者 https://www.devze.com 2022-12-31 16:07 出处:网络
i am call a web service which is locate on https protocol. and i get \"failed to load external entity\" error while calling it.

i am call a web service which is locate on https protocol. and i get "failed to load external entity" error while calling it.

as i search on google it is because in PHP5, SOAP class will not parse WSDL file located on a开发者_开发百科 secure HTTPS connection.

what is the solution? i don't want to use http instead of https.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消