failed to load external entity error on SOAP

风格不统一 提交于 2020-01-01 10:12:41

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/2897495/failed-to-load-external-entity-error-on-soap

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!