Microsoft EWS Push Notification Response Message

We are currently using push notifications from Microsoft Exchange Web Services to call our service whenever a new calendar event is generated. It seems like it works fine at first. We receive a confirmation message and reply:

<?xml version="1.0"?>
  <s:Envelope xmlns:s= "http://schemas.xmlsoap.org/soap/envelope/">
    <s:Body>
      <SendNotificationResult xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
        <SubscriptionStatus>OK</SubscriptionStatus>
      </SendNotificationResult>
    </s:Body>
  </s:Envelope>

Unfortunately, the Exchange server just keeps sending us a control message at increasing intervals, as if our answer was incorrect. Does anyone know why Microsoft is not accepting our reply message?

+4
source share
1 answer

I think your XML tag should be named <SendNotificationResultType>instead <SendNotificationResult>.

Try and let us know if you have any problems.

+3

All Articles