class data{
$a = 123;
$b = 456;
}
//直接php的SoapClient类
$client = new SoapClient('http://xxx.com/xx.asmx?wsdl');
$para = array( new data() );
$r = $client->__call('funcName', $para); //不知道为非要传一个class?
$s = $r->someFunc;
class data{
$a = 123;
$b = 456;
}
//直接php的SoapClient类
$client = new SoapClient('http://xxx.com/xx.asmx?wsdl');
$para = array( new data() );
$r = $client->__call('funcName', $para); //不知道为非要传一个class?
$s = $r->someFunc;