Push Notification을 통해 Exchange가 보내주는 XML 메시지 - Push Notification XML Message



구독 메시지

<?xml version="1.0" encoding="utf-8"?>

<soap11:Envelope xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/">

<soap11:Header>

<t:RequestServerVersion xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" Version="Exchange2007_SP1" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" />

</soap11:Header>

<soap11:Body>

<m:SendNotification xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages">

<m:ResponseMessages>

<m:SendNotificationResponseMessage ResponseClass="Error">

<m:MessageText>이 구독의 이벤트를 검색할 수 없습니다. 구독을 다시 만들어야 합니다.</m:MessageText>

<m:ResponseCode>ErrorReadEventsFailed</m:ResponseCode>

<m:DescriptiveLinkKey>0</m:DescriptiveLinkKey>

<m:MessageXml>

<t:Value Name="SubscriptionId">HwBlaGRldjAaLm15c2luZ2alZGV2LnNhbXNabmcuY29tEAaAAEDzY414aNRHmaqvPaxcOC6bMacSPTbQCA==</t:Value>

</m:MessageXml>

</m:SendNotificationResponseMessage>

</m:ResponseMessages>

</m:SendNotification>

</soap11:Body>

</soap11:Envelope>

 

Timeout 체크 메시지

<?xml version="1.0" encoding="utf-8"?>

<soap11:Envelope xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/">

<soap11:Header>

<t:RequestServerVersion xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" Version="Exchange2013" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" />

</soap11:Header>

<soap11:Body>

<m:SendNotification xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages">

<m:ResponseMessages>

<m:SendNotificationResponseMessage ResponseClass="Success">

<m:ResponseCode>NoError</m:ResponseCode>

<m:Notification>

<t:SubscriptionId>HwBlcGRldjA0Lm15c2luZ2xlZGV2LnNhbXN1bmcuY29tEAAAAFeOaj2lZuZOi1N+1rkdEZQeygpQxzbQCA==</t:SubscriptionId>

<t:PreviousWatermark>AQAAABEyGxfwZ9dAopfl5usy5gfLCx0AAAAAAAE=</t:PreviousWatermark>

<t:MoreEvents>false</t:MoreEvents>

<t:StatusEvent>

<t:Watermark>AQAAABEyGxfwZ9dAopfl5usy5gfLCx0AAAAAAAE=</t:Watermark>

</t:StatusEvent>

</m:Notification>

</m:SendNotificationResponseMessage>

</m:ResponseMessages>

</m:SendNotification>

</soap11:Body>

</soap11:Envelope>

 

Push Notification 발생 이벤트

<?xml version="1.0" encoding="utf-8"?>

<soap11:Envelope xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/">

<soap11:Header>

<t:RequestServerVersion xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" Version="Exchange2013" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" />

</soap11:Header>

<soap11:Body>

<m:SendNotification xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages">

<m:ResponseMessages>

<m:SendNotificationResponseMessage ResponseClass="Success">

<m:ResponseCode>NoError</m:ResponseCode>

<m:Notification>

<t:SubscriptionId>HwBlcGRldjA0Lm15c2luZ2xlZGV2LnNhbXN1bmcuY29tEAAAAMJY03Vah5BOmkEOETcGXxHnvIm82TbQCA==</t:SubscriptionId>

<t:PreviousWatermark>AQAAABEyGxfwZ9dAopfl5usy5gdZDR0AAAAAAAE=</t:PreviousWatermark>

<t:MoreEvents>false</t:MoreEvents>

<t:CreatedEvent>

<t:Watermark>AQAAABEyGxfwZ9dAopfl5usy5gdnDR0AAAAAAAE=</t:Watermark>

<t:TimeStamp>2013-06-14T05:49:19Z</t:TimeStamp>

<t:ItemId Id="AAMkAGZhOGI2YjNjLWRlMWQtNDQxMi04MWM3LWIzMDZjMDc2ZTc5NwBGAAAAAABC/TlGf1b9QpWxGGDPuxf9BwBOIPGUO6e0TpHwZ1Cf8EPSAAAAAAAOAABOIPGUO6e0TpHwZ1Cf8EPSAAAtT/yAAAA=" ChangeKey="FwAAAA==" />

<t:ParentFolderId Id="AQMkAGZhOGI2YjNjLWRlMWQtNDQAMTItODFjNy1iMzA2YzA3NmU3OTcALgAAA0L9OUZ/Vv1ClbEYYM+7F/0BAE4g8ZQ7p7ROkfBnUJ/wQ9IAAAMOAAAA" ChangeKey="AQAAAA==" />

</t:CreatedEvent>

</m:Notification>

</m:SendNotificationResponseMessage>

</m:ResponseMessages>

</m:SendNotification>

</soap11:Body>

</soap11:Envelope>







+ Recent posts