客户端调用webService实例
不解释
$objSoapClient = new SoapClient ( "http://192.168.1.1:16000/crmEvoiceInterface?wsdl" );
$param = array ();
var_dump($objSoapClient);
//$out = $objSoapClient->getCRMTodayPromotion ();
$out = $objSoapClient->getCRMOrderList();
echo '<pre>';
var_dump ( $out );
if ($out->return) {
$data = $out->return;
if ($data->resultCode == 0) {
print_r( json_decode($data->result) );
}
}
echo '</pere>';