EWS call to GetItem returns invalid item count - Microsoft Community
- Get link
- X
- Other Apps
hello,
we using ews read email mailbox , receiving responses contain items, count equals -1
for example:
<?xml version="1.0" encoding="utf-8"?>
<s:envelope
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:header>
<h:serverversioninfo majorversion="15" minorversion="1" majorbuildnumber="888" minorbuildnumber="25" version="v2017_01_07"
xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types"
xmlns:xsd="http://www.w3.org/2001/xmlschema"
xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"/>
</s:header>
<s:body>
<m:finditemresponse
xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages"
xmlns:xsd="http://www.w3.org/2001/xmlschema"
xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"
xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
<m:responsemessages>
<m:finditemresponsemessage responseclass="success">
<m:responsecode>noerror</m:responsecode>
<m:rootfolder indexedpagingoffset="500" totalitemsinview="-1" includeslastiteminrange="false">
<t:items>
<t:message>
...........
</t:message>
</t:items>
</m:rootfolder>
</m:finditemresponsemessage>
</m:responsemessages>
</m:finditemresponse>
</s:body>
</s:envelope>
as can see in above totalitemsinview=-1 -- what cause this?
hi marat,
for advanced assistance regarding concern, suggest post query in word pro discussions of msdn forums.
thanks.
Office / Outlook / Microsoft Office Programming / Office 365 Home
- Get link
- X
- Other Apps
Comments
Post a Comment