/// <summary>
        /// Обновить подписку
        /// </summary>
        public void renewSubscribe()
        {
            log.Info("Begin Renew subscribe, create HttpWebRequest");
            HttpWebRequest webRequest = CreateWebRequest(renewSubscribeUrl, renewSubscribeUrl + "/" + AppProperties.Default.WS_ACTION_RENEW);
            webRequest.CookieContainer = new ItriumAuthCookie();
            insertSoapEnvelopeIntoWebRequest(createSoapEnvelopeSubscribe(), webRequest);

            RequestState requestState = new RequestState();
            string soapResult = sendRequest(webRequest);

            EventProcessor eventProcessor = new EventProcessor();
            Dictionary<string, string> data = eventProcessor.getDataRenew(soapResult);
            log.Info("Result RenewSubscribe data:[" + data + "]");
            terminationTime = data["terminationTime"];
            log.Info("RenewSubscribe termination time:[" + data["terminationTime"] + "]");
        }
        private Dictionary<string, string> getData(string eventData)
        {
            var data = new Dictionary<string, string>();
            EventProcessor eventProcessor = new EventProcessor();
            try
            {
                data = eventProcessor.getDataEvent(eventData);
            }
            catch (Exception e)
            {
                log.Error(e.Message, e);
                persistError("Error GetData from SOAP request", e);
            }

            return data;
        }
        /// <summary>
        /// Подписаться
        /// </summary>
        public void beginSubscribe()
        {
            log.Info("Begin subscribe, create HttpWebRequest");
            HttpWebRequest webRequest = CreateWebRequest(AppProperties.ItriumWsUrl, AppProperties.WsActionSubscribe);
            webRequest.CookieContainer = new ItriumAuthCookie();
            log.Info("Add to HttpWebRequest SOAP Envelope");
            insertSoapEnvelopeIntoWebRequest(createSoapEnvelopeSubscribe(), webRequest);

            RequestState requestState = new RequestState();
            log.Info("Send Subscribe request...");
            string soapResult = sendRequest(webRequest);

            EventProcessor eventProcessor = new EventProcessor();
            Dictionary<string, string> data = eventProcessor.getDataSubscribe(soapResult);
            log.Info("Result Subscribe data:[" + data + "]");
            renewSubscribeUrl = data["address"];
            log.Info("Subscribe address:[" + data["address"] + "]");
            terminationTime = data["terminationTime"];
            log.Info("Subscribe termination time:[" + data["terminationTime"] + "]");
            subscribed = true;
        }