错误提示:
( ! ) Fatal error: Class 'SoapClient' not found in E:/WebSrv/CI/system/libraries/WebService.php on line 17
网上解决方法是没有安装 “SoapClient”
“SoapClient” 要怎样安装?
我看了下,在我的项目 Core API 中已经包含了 soap.php文件,是不是自带的就已经安装好了?
也在 php.ini 文件 启用 ;extension=php_soap.dll
还是报 Fatal error: Class 'SoapClient' not found in 错误
这个解决了,但还是报 《Fatal error: Uncaught SoapFault exception》错误,
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://localhost:60532/WebServiceApp/PHPTestApp.asmx?HelloWorld' : Premature end of data in tag html line 3 in C:\Users\ICC1\workspace\wwww\newfile.php:7 Stack trace: #0 C:\Users\ICC1\workspace\wwww\newfile.php(7): SoapClient->SoapClient('http://localhos...') #1 {main} thrown in C:\Users\ICC1\workspace\wwww\newfile.php on line 7
不知道是不是版本和软件的问题。