有大佬们知道这个咋解决不?
报错提示:
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:10 Stack trace: #0 C:\Users\ICC1\workspace\wwww\newfile.php(10): SoapClient->SoapClient('http://localhos...') #1 {main} thrown in C:\Users\ICC1\workspace\wwww\newfile.php on line 10
PHP文件代码如下:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<?php
echo "Hello World !<br>";
$Str='http://localhost:60532/WebServiceApp/PHPTestApp.asmx?HelloWorld';
echo "$Str<br>";
$wsdl = new SoapClient ('http://localhost:60532/WebServiceApp/PHPTestApp.asmx?HelloWorld');
echo "$Str<br>";
?>
PHP配置及版本: