【问题标题】:Microsoft EWS Push Notification Response MessageMicrosoft EWS 推送通知响应消息
【发布时间】:2013-10-17 02:04:26
【问题描述】:

我们目前正在使用来自 Microsoft Exchange Web 服务的推送通知来调用我们的服务,无论何时创建新的日历事件。起初这似乎工作正常。我们正在收到验证消息并回复:

<?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>

不幸的是,交换服务器只是继续以越来越长的间隔向我们发送验证消息,就好像我们的响应格式错误一样。有谁知道为什么微软不接受我们的回复消息?

【问题讨论】:

    标签: xml exchangewebservices


    【解决方案1】:

    我认为您的 XML 标记应该命名为 &lt;SendNotificationResultType&gt; 而不是 &lt;SendNotificationResult&gt;

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

    【讨论】:

      猜你喜欢
      • 2019-01-11
      • 2020-06-05
      • 2019-01-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-02-23
      • 1970-01-01
      • 2013-02-28
      相关资源
      最近更新 更多