<?
$provinceSign=$_POST['provinceName'];
$carnum=$_POST['carnum'];
if($carnum!=null)
{
$frameNum=$_POST['frameNum'];
$engineNum=$_POST['egineNum'];
$carType=$_POST['carType'];
header("content-type:text/html;charset=utf-8");
//$client=new nusoap_client('http://115.29.169.98:8091/IllegalQuery/IllegalQuery.asmx?wsdl',true);
$client=new SoapClient('http://115.29.169.98:8091/IllegalQuery/IllegalQuery.asmx?wsdl');
$agentNummd5="33RD458322D7046F63DFD8B15R43E5";//top 文件生成
$client->decode_utf8=false;
$client->soap_defencoding='utf8';
$client->xml_encoding='utf8';
$params1 = array('agentNum'=>$agentNummd5,'carnum'=>$provinceSign.$carnum,'frameNum'=>$frameNum,'carType'=>$carType,'engineNum'=>$engineNum);
$reversed = $client->call('Query',array($params1));
$result=$reversed['QueryResult'];
echo json_encode($result);
}
soap扩展开了吗?