Quantcast
Channel: Exchange Server Development forum
Viewing all articles
Browse latest Browse all 7132

UID property of Calendar Null Exchange Web Services 2010 SP2

$
0
0

Hi,

I'm using Java to consume EWS APIs. I am trying to fetch Calendar items within a certain date range. For few Calendars items I'm getting UID property as null. As per the MSDN documentation UID of Calendar cannot be null or empty reference http://msdn.microsoft.com/en-us/library/office/bb891878(v=exchg.150).aspx 

Here is the request payload:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><soap:Header><t:RequestServerVersion Version="Exchange2007_SP1" /></soap:Header><soap:Body><GetItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types"><ItemShape><t:BaseShape>IdOnly</t:BaseShape><t:AdditionalProperties><t:FieldURI FieldURI="calendar:Organizer" /><t:FieldURI FieldURI="calendar:OptionalAttendees" /><t:FieldURI FieldURI="calendar:RequiredAttendees" /><t:FieldURI FieldURI="item:Body" /><t:ExtendedFieldURI PropertyTag="0x1013" PropertyType="Binary" /><t:ExtendedFieldURI PropertyTag="0x1000" PropertyType="String" /><t:FieldURI FieldURI="item:DateTimeCreated" /><t:FieldURI FieldURI="calendar:Start" /><t:FieldURI FieldURI="calendar:End" /><t:FieldURI FieldURI="calendar:Location" /><t:FieldURI FieldURI="item:LastModifiedTime" /><t:FieldURI FieldURI="calendar:AppointmentSequenceNumber" /><t:FieldURI FieldURI="item:Subject" /><t:FieldURI FieldURI="item:ItemId" /><t:FieldURI FieldURI="item:ParentFolderId" /><t:FieldURI FieldURI="calendar:UID" /></t:AdditionalProperties></ItemShape><ItemIds><t:ItemId Id="AAMkADlkMGVlMGNlLTljNDktNGFlMi1iZmIyLTJhMzcyNDg2NDg4NwBGAAAAAABXjL+81Py5TY5OXVsf4Q4NBwDlZIRAnXFLTrTCydbbFjQEAACkS8cwAAA5cSgq91wDQp3guH/kYhAjAEPbSRyBAAA=" /></ItemIds></GetItem></soap:Body></soap:Envelope>

In the response I do get UID field at all which in turn is evaluated null.

Can somebody confirm whether it's an issue with exchange? Because we have written out business logic with an assumption that UID will never be null.

Thanks


Nitin Arora



Viewing all articles
Browse latest Browse all 7132

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>