首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >定期约会:无错误,不可见

定期约会:无错误,不可见
EN

Stack Overflow用户
提问于 2014-04-25 14:35:46
回答 1查看 73关注 0票数 0

我正在通过EWS托管API创建一个经常性的约会。

创建每周约会是有效的。

每月预约不起作用。

当EWS将我的每月约会发布到服务器时,Exchange不会返回任何错误,但该约会并不存在。

我所能看到的是,它应该在那里-但它不是!

这里有人知道原因吗?

下面是发送到服务器的递归跟踪:

代码语言:javascript
复制
<t:Recurrence> 
<t:RelativeMonthlyRecurrence> 
<t:Interval>1</t:Interval> 
<t:DaysOfWeek>Saturday&lt;/t:DaysOfWeek> 
<t:DayOfWeekIndex>Last&lt;/t:DayOfWeekIndex> 
</t:RelativeMonthlyRecurrence> 
<t:NumberedRecurrence> <br /> <t:StartDate>2014-04-26&lt;/t:StartDate> 
<t:NumberOfOccurrences>10</t:NumberOfOccurrences>; 
</t:NumberedRecurrence> 
</t:Recurrence> 

下面是响应头的跟踪

代码语言:javascript
复制
<Trace Tag="EwsResponseHttpHeaders" Tid="18" Time="2014-04-25 14:00:56Z"> 
HTTP/1.1 200 OK
Transfer-Encoding: chunked
Content-Encoding: gzip
Vary: Accept-Encoding
X-EwsPerformanceData: RpcC=13;RpcL=919;LdapC=0;LdapL=0;
Persistent-Auth: true
Cache-Control: private
Content-Type: text/xml; charset=utf-8
Date: Fri, 25 Apr 2014 14:00:56 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET


</Trace> 

还有反应体。

代码语言:javascript
复制
<Trace Tag="EwsResponse" Tid="18" Time="2014-04-25 14:00:56Z" Version="15.00.0516.014"> <br /> <?xml version="1.0" encoding="utf-8"?> 
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> 
<s:Header> 
<h:ServerVersionInfo MajorVersion="14" MinorVersion="0" MajorBuildNumber="722" MinorBuildNumber="0" Version="Exchange2010" xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /> 
</s:Header> 
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> 
<m:CreateItemResponse xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"> 
<m:ResponseMessages> 
<m:CreateItemResponseMessage ResponseClass="Success"> r /> <m:ResponseCode>NoError&lt;/m:ResponseCode> 
<m:Items> 
<t:CalendarItem> 
<t:ItemId Id="AAMkADZmMGNlYzkwLWE0NGUtNGQxMC04MTc4LTE3MWM3MzExM2UzMQBGAAAAAAAVFLM1uwjxTpI7ZWapZLFDBwAG/DdYA3s2SJJPro446HsmAAAAAAAgAAAG/DdYA3s2SJJPro446HsmAAAOswdMAAA=" ChangeKey="DwAAABYAAAAG/DdYA3s2SJJPro446HsmAAAOsyvo" /> 
</t:CalendarItem> 
</m:Items> 
</m:CreateItemResponseMessage> 
</m:ResponseMessages> r /> </m:CreateItemResponse> 
</s:Body> 
</s:Envelope> 
</Trace> 
EN

回答 1

Stack Overflow用户

发布于 2014-04-25 14:39:16

考虑到XML是无效的,毫不奇怪:

代码语言:javascript
复制
<t:DaysOfWeek>Saturday&lt;/t:DaysOfWeek> 
                      ^^^^---- should be just <
<t:DayOfWeekIndex>Last&lt;/t:DayOfWeekIndex> 
                      ^^^^----ditto
<t:NumberedRecurrence> <br /> <t:StartDate>2014-04-26&lt;/t:StartDate> 
                       ^^^^^^---huh?                 ^^^^----ditto
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/23296112

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档