windows 操作系统 现在解决了 再顺便问个问题 我写的调用websevesice的 提示错误是 SoapClient() expects parameter 2 to be array, string given in这是代码 $ws = "http://10.2.57.64:804/manage/Webservice/SSOFilterWebService.asmx";// 创建一个soapclient对象,参数是server的WSDL $client = new soapclient($ws, 'wsdl');
;extension=php_soap.dll
提示错误是
SoapClient() expects parameter 2 to be array, string given in这是代码
$ws = "http://10.2.57.64:804/manage/Webservice/SSOFilterWebService.asmx";// 创建一个soapclient对象,参数是server的WSDL
$client = new soapclient($ws, 'wsdl');
// 参数转为数组形式传递
$aryPara = array('app_id'=>'0000000');
// 调用远程函数
$aryResult = $client->call('getLoginUserParamName',$aryPara); 大哥们帮帮忙呀
$ws = "http://10.2.57.64:804/manage/Webservice/SSOFilterWebService.asmx";$aryPara = array('app_id'=>'0000000');
$client = new soapclient($ws, $aryPara);
$aryResult = $client->call('getLoginUserParamName',$aryPara);
$client = new soapclient($ws);