/// <remarks/>
 public void ValidateAuctionCheckPointsAsync(TAuctionCheckPoints CheckPoints, object userState) {
     if ((this.ValidateAuctionCheckPointsOperationCompleted == null)) {
         this.ValidateAuctionCheckPointsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnValidateAuctionCheckPointsOperationCompleted);
     }
     this.InvokeAsync("ValidateAuctionCheckPoints", new object[] {
                 CheckPoints}, this.ValidateAuctionCheckPointsOperationCompleted, userState);
 }
 public bool ValidateAuctionCheckPoints(TAuctionCheckPoints CheckPoints) {
     object[] results = this.Invoke("ValidateAuctionCheckPoints", new object[] {
                 CheckPoints});
     return ((bool)(results[0]));
 }
 /// <remarks/>
 public void ValidateAuctionCheckPointsAsync(TAuctionCheckPoints CheckPoints) {
     this.ValidateAuctionCheckPointsAsync(CheckPoints, null);
 }
        public ActionResult ValidateAuctionCheckPoints(string regDate, string endOfferDate, string tenderDate, string tenderTime, string tenderEndDate)
        {
            TAuctionCheckPoints checkPoints = new TAuctionCheckPoints();
            checkPoints.PublishDate = DateTimeUtils.DateTimeToDouble(DateTime.Parse(regDate));
            checkPoints.TenderDate = DateTimeUtils.DateTimeToDouble(DateTime.Parse(tenderTime+" "+tenderDate));
            checkPoints.EndOfferDate = DateTimeUtils.DateTimeToDouble(DateTime.Parse(endOfferDate));
            checkPoints.ExpiryOfferDate = DateTimeUtils.DateTimeToDouble(DateTime.Parse(tenderEndDate));

            TAuthHeader header = new TAuthHeader();
            header.SessionID = (String)Session["sessionID"];
            header.SessionKey = (String)Session["sessionKey"];
            client.TAuthHeaderValue = header;

            try
            {
                client.ValidateAuctionCheckPoints(checkPoints);
            }
            catch (SoapException ex)
            {
                return Json(ex.Message);
            }

            return Json(true);
        }