日期:2014-05-17 浏览次数:20457 次
<?php
$wsdl="http://pica.chalwin.com/service/JsAccessWebService.asmx?wsdl";
$client = new SoapClient($wsdl);
$param = array('NodeId'=>'1','outCount'=>'10');
$ret = $client->LatestNews($param);
if($ret->return){
print_r($ret->return);
}else{
echo 'no user';
}
?>
foreach($ret->LatestNewsResult->InheritanceNews as $item) {
foreach($item as $k=>$v) {
echo "$k : $v\n";
}
}