发送数据

private function saveSureCheck(ANI:String,AgentID:String,CSRSerViceTime:String,CTICallId:String,//把确认核身完成发送给 CADVVerificationHistory
                           CustomerId:String,EDUId:String,ProcessDate:String,Issuccess:String):void
{
  var strSource:String="<ANI>"+ANI+"</ANI>"+"<AgentID>"+AgentID+"</AgentID>"+"<CSRSerViceTime>"+CSRSerViceTime +"</CSRSerViceTime>"
       +"<CTICallId>"+CTICallId+"</CTICallId>"+"<CustomerId>"+CustomerId+"</CustomerId>"+
       "<EDUId>"+EDUId+"</EDUId>"+"<ProcessDate>"+ProcessDate+"</ProcessDate>"+"<Issuccess >"+Issuccess+"</Issuccess >";
           var ser_url_sureCheck:String="CADVVerificationHistory.do?servlet=add";
           var strVerified:String;
           if(verifiedCustomer.selected==true)
           {
           strVerified=="true";
           }
           else
           {
           strVerified=="false";
           }
           strSource=strSource+"<IsVerified>"+strVerified+"</IsVerified>";//把是否选择了(确认核省完成)
          
 
      var par_sureCheck:String="<cti><model>"+strSource+"</model></cti>";
      myHttp.initHttp(sureCheck_http,ser_url_sureCheck,par_sureCheck,urlString);
}
private function getSureCheckResult(event:ResultEvent):void
{
CTIlog.info(event.message.body.toString());
}

你可能感兴趣的:(servlet)