Soap Exchange EWS不返回日历的邮件正文

Soap Exchange EWS不返回日历的邮件正文,soap,exchange-server,exchangewebservices,Soap,Exchange Server,Exchangewebservices,因此,我正在尝试从office360.com获取所有日历事件。我正在使用ews获取数据。我发出了一个请求 <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006

因此,我正在尝试从office360.com获取所有日历事件。我正在使用ews获取数据。我发出了一个请求

    <?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
               xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
  <soap:Body>
    <FindItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages"
               xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"
              Traversal="Shallow">
      <ItemShape>
        <t:BaseShape>AllProperties</t:BaseShape>
        <t:BodyType>HTML</t:BodyType>
      </ItemShape>
      <ParentFolderIds>
        <t:DistinguishedFolderId Id="calendar"/>
      </ParentFolderIds>
    </FindItem>
  </soap:Body>
</soap:Envelope>

所有属性
HTML

这个soap请求xml并没有向我返回日历消息体,但我得到了主题和其他数据。我做错了什么?非常感谢您的帮助。

需要通过单独的电话来找回尸体

或者您可以先加载属性

第二种方法比较简单,但是您需要定义所有想要返回的属性,如果要返回的属性很多,那么可能会很麻烦