先上代码!这是webservice的接口代码:public class searchImpl implements Isearch {
    public String getResult(String para, int first, int max) {
    ...
    }
}
下面是对应的PHP代码$client = new SoapClient ( "http://localhost:8080/SearchTF/services/search?wsdl" );
$parameters = array('para'=>$'hellotest', 'first'=>'1', 'max'=>'10');
//$parameters = array($_POST[keywordtextfield],1,10);
$out = $client->__soapCall("getResult",$parameters);
var_dump($out);
但是在运行的时候会出错,错误提示如下:
Fatal error: Uncaught SoapFault exception: [soap:Client] Not enough message parts were received for the operation. in E:\re\Apache Group\Apache2\htdocs\index.php:78 Stack trace: #0 E:\re\Apache Group\Apache2\htdocs\index.php(78): SoapClient->__soapCall('getResult', Array) #1 {main} thrown in E:\re\Apache Group\Apache2\htdocs\index.php on line 78其中Line78就是$out = $client->__soapCall("getResult",$parameters);这一句。
请问哪里有错呢?怎样修改?