简体   繁体   中英

Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from '< URL HERE >' : failed to load external entity

I'm trying to connect to a WSDL feed, this works fine from my local machine (Windows) but not from the web server (Linux). When I attempt a connection I get this error:

Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from ' http://services.clfdistribution.com:8080/CLFWebOrdering_Test/WebOrdering.asmx?WSDL ' : failed to load external entity

I've compared the phpinfo readouts from both machines and everything seems to match except that the working one (local PC) is PHP 5.5.36 and the non-working one (web server) is PHP 7.0.22

I've tried various fixes that I've found and nothing seems to work. Some other feeds do work but not the one I need to connect to.

We have cPanel access but no ability to edit PHP configuration (host is SiteGround).

现在,此问题已得到解决-Siteground阻止了8080端口,一旦取消了此限制,它就可以正常工作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM