/// <summary> /// Parse the Message for a notification data token response message. /// </summary> /// <returns></returns> protected override bool ParseMessage() { try { if (ResponseXml.IndexOf("<notification-data-response") > -1) { _response = (AutoGen.NotificationDataResponse) EncodeHelper.Deserialize(ResponseXml, typeof(AutoGen.NotificationDataResponse)); Log.Xml(_response.serialnumber, ResponseXml); return(true); } } catch (Exception ex) { Log.Err("NotificationDataResponse ParseResponse:" + ex.Message); } return(false); }
/// <summary> /// Parse the Message for a notification data token response message. /// </summary> /// <returns></returns> protected override bool ParseMessage() { try { if (ResponseXml.IndexOf("<notification-data-response") > -1) { _response = (AutoGen.NotificationDataResponse) EncodeHelper.Deserialize(ResponseXml, typeof(AutoGen.NotificationDataResponse)); Log.Xml(_response.serialnumber , ResponseXml); return true; } } catch (Exception ex) { Log.Err("NotificationDataResponse ParseResponse:" + ex.Message); } return false; }