none
EWS: After declining a rescheduled meeting or removing a canceled meeting, the original invitation notice is wrongly marked as non-outdated RRS feed

  • Question

  • In Exchange 2010, if you use EWS to decline a rescheduled meeting, or remove a canceled meeting, then opening the original invitation (in either OWA or though EWS) it will state that the original invitation is non-outdated, which should be wrong.

    Step to reproduce:

    1) User A creates a meeting and add User B as invitee in OWA.
    2) User A reschedules the meeting, and send notification to User B in OWA.
    3) User B opens the reschedule notice through EWS GetItem. (Please refer to xml#1)
    4) User B declines the reschedule notice through EWS CreateItem (DeclineItem) (Please refer to xml#2)
    5) User B opens the original invitation through EWS GetItem. (Please refer to xml#3)
    6) in the GetItem response, it states it's non-outdated even it should be.
    7) User B opens the original invitation in OWA, it still states as non-outdated.

    same case happen on removing a canceled meeting.

    xml#1:

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:e="http://schemas.microsoft.com/exchange/services/2006/errors">

    <soap:Body>

    <m:GetItem>

    <m:ItemShape>

    <t:BaseShape>AllProperties</t:BaseShape>

    <t:IncludeMimeContent>false</t:IncludeMimeContent>

    <t:AdditionalProperties>

    <t:ExtendedFieldURI PropertyTag="0x1090" PropertyType="Integer"></t:ExtendedFieldURI>

    <t:ExtendedFieldURI DistinguishedPropertySetId="Appointment" PropertyId="33367" PropertyType="Boolean"></t:ExtendedFieldURI>

    <t:ExtendedFieldURI DistinguishedPropertySetId="Appointment" PropertyId="33360" PropertyType="SystemTime"></t:ExtendedFieldURI>

    <t:ExtendedFieldURI DistinguishedPropertySetId="Appointment" PropertyId="33361" PropertyType="SystemTime"></t:ExtendedFieldURI>

    <t:ExtendedFieldURI DistinguishedPropertySetId="Appointment" PropertyId="33284" PropertyType="Integer"></t:ExtendedFieldURI>

    <t:ExtendedFieldURI PropertySetId="736F6369-616C-006D-6169-6C0065777300" PropertyName="SMImageUnblockState" PropertyType="Boolean"></t:ExtendedFieldURI>

    </t:AdditionalProperties>

    </m:ItemShape>

    <m:ItemIds>

    <t:ItemId Id="AAAcAGRlbW8wMUBzbWRldjIwMTAueXVubWFpbC5jb20ARgAAAAAAuVSYv3WGY0WiqYuytMJ7SwcAry/a8i/qX0CPUp56r9XbAwAAABXAUAAAry/a8i/qX0CPUp56r9XbAwAAJAM+fAAA" ChangeKey="CwAAABYAAACvL9ryL+pfQI9Snnqv1dsDAAAkA3ja"></t:ItemId>

    </m:ItemIds>

    </m:GetItem>

    </soap:Body>

    </soap:Envelope>

    xml#2:

    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:e="http://schemas.microsoft.com/exchange/services/2006/errors">

    <soap:Body>

    <m:CreateItem MessageDisposition="SendAndSaveCopy">

    <m:Items>

    <t:DeclineItem>

    <t:ReferenceItemId Id="AAAcAGRlbW8wMUBzbWRldjIwMTAueXVubWFpbC5jb20ARgAAAAAAuVSYv3WGY0WiqYuytMJ7SwcAry/a8i/qX0CPUp56r9XbAwAAABXAUAAAry/a8i/qX0CPUp56r9XbAwAAJAM+fAAA" ChangeKey="CwAAABYAAACvL9ryL+pfQI9Snnqv1dsDAAAkA3ja"></t:ReferenceItemId>

            </t:DeclineItem>

    </m:Items>

    </m:CreateItem>

    </soap:Body>

    </soap:Envelope>

    xml#3:

    <?xml version="1.0" encoding="utf-8"?>

    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">

    <s:Header>

    <h:ServerVersionInfo MajorVersion="14" MinorVersion="1" MajorBuildNumber="421" MinorBuildNumber="2" 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:GetItemResponse xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">

    <m:ResponseMessages>

    <m:GetItemResponseMessage ResponseClass="Success">

    <m:ResponseCode>NoError</m:ResponseCode>

    <m:Items>

    <t:MeetingRequest>

    <t:ItemId Id="AAAcAGRlbW8wMUBzbWRldjIwMTAueXVubWFpbC5jb20ARgAAAAAAuVSYv3WGY0WiqYuytMJ7SwcAry/a8i/qX0CPUp56r9XbAwAAABXAUAAAry/a8i/qX0CPUp56r9XbAwAAJAM+ewAA" ChangeKey="CwAAABYAAACvL9ryL+pfQI9Snnqv1dsDAAAkA3jT"/>

    <t:ParentFolderId Id="AQAcAGRlbW8wMUBzbWRldjIwMTAueXVubWFpbC5jb20ALgAAA7lUmL91hmNFoqmLsrTCe0sBAK8v2vIv6l9Aj1Keeq/V2wMAAAEVwFAAAAA=" ChangeKey="AQAAAA=="/>

    <t:ItemClass>IPM.Schedule.Meeting.Request</t:ItemClass>

    <t:Subject>This meeting will be rescheduled</t:Subject>

    <t:Sensitivity>Normal</t:Sensitivity>

    <t:Body BodyType="HTML">THIS IS THE BODY</t:Body>

    <t:DateTimeReceived>2013-01-28T04:05:09Z</t:DateTimeReceived>

    <t:Size>2768</t:Size>

    <t:Importance>Normal</t:Importance>

    <t:IsSubmitted>false</t:IsSubmitted>

    <t:IsDraft>false</t:IsDraft>

    <t:IsFromMe>false</t:IsFromMe>

    <t:IsResend>false</t:IsResend>

    <t:IsUnmodified>true</t:IsUnmodified>

    <t:InternetMessageHeaders>

    <t:InternetMessageHeader HeaderName="Received">from dev1-smXchg3.smdev2010.yunmail.com ([2002:977:64d::977:64d]) by dev1-smXchg3.smdev2010.yunmail.com ([2002:977:64d::977:64d]) with mapi id 14.01.0421.002; Mon, 28 Jan 2013 12:05:09 +0800</t:InternetMessageHeader>

    <t:InternetMessageHeader HeaderName="Content-Type">application/ms-tnef</t:InternetMessageHeader>

    <t:InternetMessageHeader HeaderName="Content-Transfer-Encoding">binary</t:InternetMessageHeader>

    <t:InternetMessageHeader HeaderName="Subject">This meeting will be rescheduled</t:InternetMessageHeader>

    <t:InternetMessageHeader HeaderName="Thread-Topic">This meeting will be rescheduled</t:InternetMessageHeader>

    <t:InternetMessageHeader HeaderName="Thread-Index">Ac39DKjo9UtqiKAhRNCBG1148A7zxA==</t:InternetMessageHeader>

    <t:InternetMessageHeader HeaderName="Date">Mon, 28 Jan 2013 12:05:08 +0800</t:InternetMessageHeader>

    <t:InternetMessageHeader HeaderName="Message-ID">&lt;E8739AEA1B534C42860140338EC6ECD92457D13F@dev1-smXchg3.smdev2010.yunmail.com&gt;</t:InternetMessageHeader>

    <t:InternetMessageHeader HeaderName="Accept-Language">en-US</t:InternetMessageHeader>

    <t:InternetMessageHeader HeaderName="Content-Language">en-US</t:InternetMessageHeader>

    <t:InternetMessageHeader HeaderName="X-MS-Exchange-Organization-SCL">-1</t:InternetMessageHeader>

    <t:InternetMessageHeader HeaderName="X-MS-TNEF-Correlator">&lt;E8739AEA1B534C42860140338EC6ECD92457D13F@dev1-smXchg3.smdev2010.yunmail.com&gt;</t:InternetMessageHeader>

    <t:InternetMessageHeader HeaderName="MIME-Version">1.0</t:InternetMessageHeader>

    <t:InternetMessageHeader HeaderName="X-MS-Exchange-Organization-AuthSource">dev1-smXchg3.smdev2010.yunmail.com</t:InternetMessageHeader>

    <t:InternetMessageHeader HeaderName="X-MS-Exchange-Organization-AuthAs">Internal</t:InternetMessageHeader>

    <t:InternetMessageHeader HeaderName="X-MS-Exchange-Organization-AuthMechanism">04</t:InternetMessageHeader>

    <t:InternetMessageHeader HeaderName="X-Originating-IP">[XXX.XXX.XXX.XXX]</t:InternetMessageHeader>

    </t:InternetMessageHeaders>

    <t:DateTimeSent>2013-01-28T04:05:08Z</t:DateTimeSent>

    <t:DateTimeCreated>2013-01-28T04:05:09Z</t:DateTimeCreated>

    <t:ResponseObjects>

    <t:AcceptItem/>

    <t:TentativelyAcceptItem/>

    <t:DeclineItem/>

    <t:ReplyToItem/>

    <t:ReplyAllToItem/>

    <t:ForwardItem/>

    </t:ResponseObjects>

    <t:ReminderDueBy>2013-01-28T04:30:00Z</t:ReminderDueBy>

    <t:ReminderIsSet>true</t:ReminderIsSet>

    <t:ReminderMinutesBeforeStart>15</t:ReminderMinutesBeforeStart>

    <t:DisplayCc/>

    <t:DisplayTo>Demo User</t:DisplayTo>

    <t:HasAttachments>false</t:HasAttachments>

    <t:ExtendedProperty>

    <t:ExtendedFieldURI DistinguishedPropertySetId="Appointment" PropertyId="33284" PropertyType="Integer"/>

    <t:Value>0</t:Value>

    </t:ExtendedProperty>

    <t:ExtendedProperty>

    <t:ExtendedFieldURI DistinguishedPropertySetId="Meeting" PropertyId="3" PropertyType="Binary"/>

    <t:Value>BAAAAIIA4AB0xbcQGoLgCAAAAAANheqoDP3NAQAAAAAAAAAAEAAAABHOKR0AlxpBpyrhpxVEmGg=</t:Value>

    </t:ExtendedProperty>

    <t:Culture>en-US</t:Culture>

    <t:Sender>

    <t:Mailbox>

    <t:Name>Demo User 02</t:Name>

    <t:EmailAddress>demo02@smdev2010.yunmail.com</t:EmailAddress>

    <t:RoutingType>SMTP</t:RoutingType>

    </t:Mailbox>

    </t:Sender>

    <t:ToRecipients>

    <t:Mailbox>

    <t:Name>Demo User</t:Name>

    <t:EmailAddress>demo01@smdev2010.yunmail.com</t:EmailAddress>

    <t:RoutingType>SMTP</t:RoutingType>

    </t:Mailbox>

    </t:ToRecipients>

    <t:IsReadReceiptRequested>false</t:IsReadReceiptRequested>

    <t:ConversationIndex>Ac39DKjo9UtqiKAhRNCBG1148A7zxA==</t:ConversationIndex>

    <t:ConversationTopic>This meeting will be reschduled</t:ConversationTopic>

    <t:From>

    <t:Mailbox>

    <t:Name>Demo User 02</t:Name>

    <t:EmailAddress>demo02@smdev2010.yunmail.com</t:EmailAddress>

    <t:RoutingType>SMTP</t:RoutingType>

    </t:Mailbox>

    </t:From>

    <t:InternetMessageId>&lt;E8739AEA1B534C42860140338EC6ECD92457D13F@dev1-smXchg3.smdev2010.yunmail.com&gt;</t:InternetMessageId>

    <t:IsRead>true</t:IsRead>

    <t:IsResponseRequested>true</t:IsResponseRequested>

    <t:IsDelegated>false</t:IsDelegated>

    <t:IsOutOfDate>false</t:IsOutOfDate>

    <t:HasBeenProcessed>true</t:HasBeenProcessed>

    <t:MeetingRequestType>NewMeetingRequest</t:MeetingRequestType>

    <t:IntendedFreeBusyStatus>Busy</t:IntendedFreeBusyStatus>

    <t:Start>2013-01-28T04:30:00Z</t:Start>

    <t:End>2013-01-28T05:30:00Z</t:End>

    <t:IsAllDayEvent>false</t:IsAllDayEvent>

    <t:LegacyFreeBusyStatus>Tentative</t:LegacyFreeBusyStatus>

    <t:Location/>

    <t:IsMeeting>true</t:IsMeeting>

    <t:IsCancelled>false</t:IsCancelled>

    <t:IsRecurring>false</t:IsRecurring>

    <t:MeetingRequestWasSent>true</t:MeetingRequestWasSent>

    <t:CalendarItemType>Single</t:CalendarItemType>

    <t:Organizer>

    <t:Mailbox>

    <t:Name>Demo User 02</t:Name>

    <t:EmailAddress>demo02@smdev2010.yunmail.com</t:EmailAddress>

    <t:RoutingType>SMTP</t:RoutingType>

    </t:Mailbox>

    </t:Organizer>

    <t:RequiredAttendees>

    <t:Attendee>

    <t:Mailbox>

    <t:Name>Demo User 02</t:Name>

    <t:EmailAddress>demo02@smdev2010.yunmail.com</t:EmailAddress>

    <t:RoutingType>SMTP</t:RoutingType>

    </t:Mailbox>

    <t:ResponseType>Unknown</t:ResponseType>

    </t:Attendee>

    <t:Attendee>

    <t:Mailbox>

    <t:Name>Demo User</t:Name>

    <t:EmailAddress>demo01@smdev2010.yunmail.com</t:EmailAddress>

    <t:RoutingType>SMTP</t:RoutingType>

    </t:Mailbox>

    <t:ResponseType>Unknown</t:ResponseType>

    </t:Attendee>

    </t:RequiredAttendees>

    <t:ConflictingMeetingCount>0</t:ConflictingMeetingCount>

    <t:AdjacentMeetingCount>0</t:AdjacentMeetingCount>

    <t:Duration>PT1H</t:Duration>

    <t:TimeZone>(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi</t:TimeZone>

    <t:AppointmentSequenceNumber>0</t:AppointmentSequenceNumber>

    <t:AppointmentState>3</t:AppointmentState>

    </t:MeetingRequest>

    </m:Items>

    </m:GetItemResponseMessage>

    </m:ResponseMessages>

    </m:GetItemResponse>

    </s:Body>

    </s:Envelope>




    • Edited by Tim KC Liu Monday, January 28, 2013 8:30 AM better formatting
    Monday, January 28, 2013 8:08 AM