我正在做一些 SOAP 练习
但是,我不能让它在 WAMP 上工作。
我得到的错误是:
致命错误:未捕获的 SoapFault 异常:[WSDL] SOAP-ERROR:解析 WSDL:无法从“ https://www.creditsafe.fr/getdata/service/CSFRServices.asmx?WSDL:8080 ”加载:无法加载外部C:\wamp\www\GESTION\add_debiteur.php:128 中的实体“ https://www.creditsafe.fr/getdata/service/CSFRServices.asmx?WSDL:8080 ” 堆栈跟踪:#0 C:\wamp\www \GESTION\add_debiteur.php(128): SoapClient->SoapClient(' https://www.cre ...') #1 C:\wamp\www\GESTION\index.php(1360): include('C :\wamp\www\GES...') #2 {main} 在第 128 行的 C:\wamp\www\GESTION\add_debiteur.php 中抛出
$client = new SoapClient("http://footballpool.dataaccess.eu/data/info.wso?WSDL");
$wsdl = "https://www.creditsafe.fr/getdata/service/CSFRServices.asmx?WSDL";
$client = new SoapClient($wsdl);
谷歌不知道答案。任何建议都非常感谢。