ActiveSync GetItemEstimate始终返回状态2。 [英] ActiveSync GetItemEstimate always returns Status 2.

查看:78
本文介绍了ActiveSync GetItemEstimate始终返回状态2。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是实现ActiveSync客户端。但是,在发送GetItemEstimate命令时,如果使用EAS v2.5,则会返回联系人,任务和日历
文件夹的状态2。

这是我发送的内容: < span style ="font-size:0.75em"> 

<GetItemEstimate xmlns='GetItemEstimate'>
<Collections>
<Collection>
<SyncKey xmlns='AirSync'>2</SyncKey>
<CollectionId>13</CollectionId>
<FilterType xmlns='AirSync'>0</FilterType>
</Collection>
</Collections>
</GetItemEstimate>

相应的WBXML是

3 1 6a 0 0 6 45 47 48 0 0 4b 3 32 0 1 0 6 4a 3 31 33 0 1 0 0 58 3 30 0 1 0 6 1 1 1

3 1 6a 0 0 6 45 47 48 0 0 4b 3 32 0 1 0 6 4a 3 31 33 0 1 0 0 58 3 30 0 1 0 6 1 1 1

我试过包括CLASS但这并没有改变任何东西。我包含了FilterType,因为文档说它是req。 for v2.5。

使用的CollectionId属于默认联系人文件夹,同步密钥正确。它也不适用于任务或日历文件夹。

I tried including CLASS but that does not change anything. I included FilterType, because the docs say it is req. for v2.5.
The used CollectionId belongs to a default contacts folder and the synckey is correct. It also does not work with a task or calendar folder.

这是我得到的:

<GetItemEstimate xmlns='GetItemEstimate'>
<Response>
<Status>2</Status>
</Response>
</GetItemEstimate>




使用EAS v14.0时,它按预期工作。这是请求:

When using EAS v14.0, it works as expected. This is the request:

<GetItemEstimate xmlns='GetItemEstimate'>
<Collections>
<Collection>
<SyncKey xmlns='AirSync'>1510714876</SyncKey>
<CollectionId>2</CollectionId>
</Collection>
</Collections>
</GetItemEstimate>

这是回复:

<GetItemEstimate xmlns='GetItemEstimate'>
<Response>
<Status>1</Status>
<Collection>
<CollectionId>2</CollectionId>
<Estimate>0</Estimate>
</Collection>
</Response>
</GetItemEstimate>

任何有关EAS v2.5无法使用的帮助都很棒。

Any help, on why it does not work with EAS v2.5 would be great.

谢谢,

John

Thanks,
John




推荐答案

嗨约翰, 

Hi John, 

感谢您提出的问题GetItemEstimate。其中一个开放规范团队成员将很快回复以开始与您合作。 

Thank you for your question about GetItemEstimate. One of the Open Specifications team members will respond shortly to begin working with you. 


这篇关于ActiveSync GetItemEstimate始终返回状态2。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆