$client = new SoapClient('http://webservice.jxdcw.com/Service.asmx?wsdl');
$res=$client->__soapCall('Set_Cookie',array('UserName'=>$username));
print('sfsfsfsfsdfsfsfsfsdfsdf');
exit();
以上是代码调用不到。?而使用了$client = new SoapClient('http://webservice.jxdcw.com/Service.asmx?wsdl'); 代码后。连print('sfsfsfsfsdfsfsfsfsdfsdf');
句都失效了。。这是什么因为。救命!》
$res=$client->__soapCall('Set_Cookie',array('UserName'=>$username));
print('sfsfsfsfsdfsfsfsfsdfsdf');
exit();
以上是代码调用不到。?而使用了$client = new SoapClient('http://webservice.jxdcw.com/Service.asmx?wsdl'); 代码后。连print('sfsfsfsfsdfsfsfsfsdfsdf');
句都失效了。。这是什么因为。救命!》
我这里可以
array(6) {
[0]=>
string(53) "HelloWorldResponse HelloWorld(HelloWorld $parameters)"
[1]=>
string(53) "Set_CookieResponse Set_Cookie(Set_Cookie $parameters)"
[2]=>
string(53) "Get_CookieResponse Get_Cookie(Get_Cookie $parameters)"
[3]=>
string(53) "HelloWorldResponse HelloWorld(HelloWorld $parameters)"
[4]=>
string(53) "Set_CookieResponse Set_Cookie(Set_Cookie $parameters)"
[5]=>
string(53) "Get_CookieResponse Get_Cookie(Get_Cookie $parameters)"
}
$aryPara = array('UserName'=>'sdfsdfsdfsd');
$res= $client->call('Set_Cookie',$aryPara); 改为 $res=$client->call ('Set_Cookies',array('parameters'==>array('UserName'=>'sdfsdfsdfsd');