提示Class 'SoapClient' not found in

解决方案 »

  1.   

    php.ini中的(网上看的)
    ;extension=php_soap.dll
      

  2.   

    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');    
       
    // 参数转为数组形式传递    
    $aryPara = array('app_id'=>'0000000');    
       
    // 调用远程函数    
    $aryResult = $client->call('getLoginUserParamName',$aryPara);  大哥们帮帮忙呀
      

  3.   

    $client = new soapclient($ws, 'wsdl');第二个参数你给个数组看看
      

  4.   


    $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); 
      

  5.   

    $ws = "http://10.2.57.64:804/manage/Webservice/SSOFilterWebService.asmx?wsdl";// 创建一个soapclient对象,参数是server的WSDL   
    $client = new soapclient($ws);   
      

  6.   

    ok 解决了  谢谢各位 主要原因是由于nusoap与php5的冲突
      

  7.   

    我的操作系统是windows 2003也是出现这样的提示,该操作系统有关系吗?