xml – Microsoft EWS推送通知响应消息

我们目前正在使用Microsoft Exchange Web Services的推送通知,以便在创建新的日历事件时调用我们的服务.这开始似乎工作得很好.我们收到验证邮件回复
<?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>

不幸的是,Exchange服务器会继续以不断增加的间隔向我们发送验证消息,就好像我们的响应格式不正确一样.有谁知道为什么微软不接受我们的回复消息?

我认为您的XML标记应该命名为< SendNotificationResultType>而不是< SendNotificationResult>.

尝试一下,如果您有任何问题,请告诉我们.

相关文章

php输出xml格式字符串
J2ME Mobile 3D入门教程系列文章之一
XML轻松学习手册
XML入门的常见问题(一)
XML入门的常见问题(三)
XML轻松学习手册(2)XML概念