致命错误:未捕获的 SoapFault 异常:[WSDL] SOAP-ERROR:解析 WSDL:无法加载 [英] Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from
问题描述
我正在做一些 SOAP 练习
I'm doing some SOAP exercises
但是,我不能让它在 WAMP 上工作.
But, I cannot get that to work on WAMP.
我得到的错误是:
致命错误:未捕获的 SoapFault 异常:[WSDL] SOAP-ERROR:解析 WSDL:无法从 'https://www.creditsafe.fr/getdata/service/CSFRServices.asmx?WSDL 加载:8080' : 无法加载外部实体"https://www.creditsafe.fr/getdata/service/CSFRServices.asmx?WSDL:8080" in C:\wamp\www\GESTION\add_debiteur.php:128 堆栈跟踪:#0C:\wamp\www\GESTION\add_debiteur.php(128): SoapClient->SoapClient('https://www.cre...') #1C:\wamp\www\GESTION\index.php(1360): include('C:\wamp\www\GES...') #2 {main} 被抛出C:\wamp\www\GESTION\add_debiteur.php 第 128 行
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://www.creditsafe.fr/getdata/service/CSFRServices.asmx?WSDL:8080' : failed to load external entity "https://www.creditsafe.fr/getdata/service/CSFRServices.asmx?WSDL:8080" in C:\wamp\www\GESTION\add_debiteur.php:128 Stack trace: #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} thrown in C:\wamp\www\GESTION\add_debiteur.php on line 128
$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);
谷歌不知道答案.非常感谢任何建议.
Google does not know the answer. Any suggestion much appreciated.
推荐答案
问题解决了.事实上,当我在使用 WAMP(橙色图标)时出现如此错误时,我决定再次设置它.
The trouble was solved. In fact when I had so errors using WAMP(orange icon) I decided to set it up again.
所以我安装了最新版本的 WAMP 但没有与我以前使用的相同的 php.ini 实际上问题是在 php.ini 上我必须激活该行 ;extension=php_openssl.dll
So I installed the newest version of WAMP but there was no the same php.ini as I used previously and in fact the trouble was that on the php.ini I had to make active the line ;extension=php_openssl.dll
所以我只是删除了 ;
字符,这一行变成了 extension=php_openssl.dll
so I just removed the ;
character and this line has become like extension=php_openssl.dll
现在一切正常.
这篇关于致命错误:未捕获的 SoapFault 异常:[WSDL] SOAP-ERROR:解析 WSDL:无法加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!