Creating exception to recurring appointment [WebDAV]Hi there<br/> <br/> I'm not sure if this is the best place to ask such questions but I try. I have somehow a strange problem with WebDAV and Exchange server 2007. I try to create an exception to a recurring appointment (the start date of an instance of a recurring appointment was shifted) but it isn't displayed correctly. I read some thread on the net and some people say that my problem is not doable with WebDAV and other say that IS doable. Now I'm asking the specialists. :)<br/> <br/> <span style="text-decoration:underline">Detailed explanation:</span> <br/> I'm writing a small application in Java that should create all kind of appointments on an Exchange 2007 server and on an Exchange 2003 server. I have no problem to create 'normal' appointments. And also recurring appointments without exception I can create easily. The problem rises when I have to create an exception (for example the room changed for one single instance) to the recurring appointment. I can't manage that the exception is recognized as an instance of the recurring appointment.<br/> For example, the following request is send to the server in order to create the exception:<br/> <br/> <pre>PROPPATCH /Exchange/USERALIAS/calendar/1244708752847-4.eml HTTP/1.0 Repl-UID: e80f0e4183b1fa478c43b44d7765418b000000692a71 Host: MYHOST Content-Type: text/xml; charset=&quot;UTF-8&quot; Content-Length: 1286 Authorization: Basic d2JlaWtpcmNoZXI6bGFzaXJpMTY= &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt; &lt;D:propertyupdate xmlns:D=&quot;DAV:&quot; xmlns:EX=&quot;http://schemas.microsoft.com/exchange/&quot; xmlns:HM=&quot;urn:schemas:calendar:&quot; xmlns:MAPI=&quot;http://schemas.microsoft.com/mapi/&quot; xmlns:X=&quot;xml:&quot; xmlns:HN=&quot;urn:schemas:httpmail:&quot; xmlns:dt=&quot;urn:uuid:c2f41010-65b3-11d1a29f-00aa00c14882/&quot;&gt; &lt;D:set&gt; &lt;D:prop&gt; &lt;D:contentclass&gt;urn:content-classes:appointment &lt;/D:contentclass&gt; &lt;EX:outlookmessageclass&gt;IPM.Appointment &lt;/EX:outlookmessageclass&gt; &lt;MAPI:apptstateflags dt:dt=&quot;int&quot;&gt;0 &lt;/MAPI:apptstateflags&gt; &lt;HN:subject&gt;blabla&lt;/HN:subject&gt; &lt;HM:location&gt;ablabla&lt;/HM:location&gt; &lt;HM:dtstart&gt;2009-06-23T10:00:00.000Z &lt;/HM:dtstart&gt; &lt;HM:dtend&gt;2009-06-23T11:00:00.000Z&lt;/HM:dtend&gt; &lt;HM:alldayevent&gt;0&lt;/HM:alldayevent&gt; &lt;HM:busystatus&gt;Busy&lt;/HM:busystatus&gt; &lt;HN:importance&gt;1&lt;/HN:importance&gt; &lt;HM:reminderoffset&gt;0&lt;/HM:reminderoffset&gt; &lt;MAPI:reminderset&gt;0&lt;/MAPI:reminderset&gt; &lt;MAPI:sensitivity&gt;0&lt;/MAPI:sensitivity&gt; &lt;HM:sequence&gt;1&lt;/HM:sequence&gt; &lt;HM:instancetype dt:dt=&quot;int&quot;&gt;3&lt;/HM:instancetype&gt; &lt;HM:recurrenceid&gt;2009-06-23T07:00:00.000Z&lt;/HM:recurrenceid&gt; &lt;HM:method&gt;REQUEST&lt;/HM:method&gt; &lt;HM:uid&gt; CD0000008B9511D182D800C04FB1625D7047012ABF1DD64B8742267AFDF8241F &lt;/HM:uid&gt; &lt;HM:timezoneid&gt;0&lt;/HM:timezoneid&gt; &lt;/D:prop&gt; &lt;/D:set&gt; &lt;/D:propertyupdate&gt; </pre> <br/> As you can see, I set the following properties:<br/> - repl-uid<br/> - uid<br/> - recurrenceid<br/> - instance type<br/> - the number at the end of the href to signal that this instance should be attached<br/> <br/> So what is wrong with this request? Do I forgot some property to set?<br/> <br/> <br/>© 2009 Microsoft Corporation. All rights reserved.Mon, 14 Sep 2009 17:51:08 Z224e95d1-67bf-491a-9c73-0f79ec713f44http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#224e95d1-67bf-491a-9c73-0f79ec713f44http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#224e95d1-67bf-491a-9c73-0f79ec713f44bravedreamerhttp://social.msdn.microsoft.com/Profile/en-US/?user=bravedreamerCreating exception to recurring appointment [WebDAV]Hi there<br/> <br/> I'm not sure if this is the best place to ask such questions but I try. I have somehow a strange problem with WebDAV and Exchange server 2007. I try to create an exception to a recurring appointment (the start date of an instance of a recurring appointment was shifted) but it isn't displayed correctly. I read some thread on the net and some people say that my problem is not doable with WebDAV and other say that IS doable. Now I'm asking the specialists. :)<br/> <br/> <span style="text-decoration:underline">Detailed explanation:</span> <br/> I'm writing a small application in Java that should create all kind of appointments on an Exchange 2007 server and on an Exchange 2003 server. I have no problem to create 'normal' appointments. And also recurring appointments without exception I can create easily. The problem rises when I have to create an exception (for example the room changed for one single instance) to the recurring appointment. I can't manage that the exception is recognized as an instance of the recurring appointment.<br/> For example, the following request is send to the server in order to create the exception:<br/> <br/> <pre>PROPPATCH /Exchange/USERALIAS/calendar/1244708752847-4.eml HTTP/1.0 Repl-UID: e80f0e4183b1fa478c43b44d7765418b000000692a71 Host: MYHOST Content-Type: text/xml; charset=&quot;UTF-8&quot; Content-Length: 1286 Authorization: Basic d2JlaWtpcmNoZXI6bGFzaXJpMTY= &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt; &lt;D:propertyupdate xmlns:D=&quot;DAV:&quot; xmlns:EX=&quot;http://schemas.microsoft.com/exchange/&quot; xmlns:HM=&quot;urn:schemas:calendar:&quot; xmlns:MAPI=&quot;http://schemas.microsoft.com/mapi/&quot; xmlns:X=&quot;xml:&quot; xmlns:HN=&quot;urn:schemas:httpmail:&quot; xmlns:dt=&quot;urn:uuid:c2f41010-65b3-11d1a29f-00aa00c14882/&quot;&gt; &lt;D:set&gt; &lt;D:prop&gt; &lt;D:contentclass&gt;urn:content-classes:appointment &lt;/D:contentclass&gt; &lt;EX:outlookmessageclass&gt;IPM.Appointment &lt;/EX:outlookmessageclass&gt; &lt;MAPI:apptstateflags dt:dt=&quot;int&quot;&gt;0 &lt;/MAPI:apptstateflags&gt; &lt;HN:subject&gt;blabla&lt;/HN:subject&gt; &lt;HM:location&gt;ablabla&lt;/HM:location&gt; &lt;HM:dtstart&gt;2009-06-23T10:00:00.000Z &lt;/HM:dtstart&gt; &lt;HM:dtend&gt;2009-06-23T11:00:00.000Z&lt;/HM:dtend&gt; &lt;HM:alldayevent&gt;0&lt;/HM:alldayevent&gt; &lt;HM:busystatus&gt;Busy&lt;/HM:busystatus&gt; &lt;HN:importance&gt;1&lt;/HN:importance&gt; &lt;HM:reminderoffset&gt;0&lt;/HM:reminderoffset&gt; &lt;MAPI:reminderset&gt;0&lt;/MAPI:reminderset&gt; &lt;MAPI:sensitivity&gt;0&lt;/MAPI:sensitivity&gt; &lt;HM:sequence&gt;1&lt;/HM:sequence&gt; &lt;HM:instancetype dt:dt=&quot;int&quot;&gt;3&lt;/HM:instancetype&gt; &lt;HM:recurrenceid&gt;2009-06-23T07:00:00.000Z&lt;/HM:recurrenceid&gt; &lt;HM:method&gt;REQUEST&lt;/HM:method&gt; &lt;HM:uid&gt; CD0000008B9511D182D800C04FB1625D7047012ABF1DD64B8742267AFDF8241F &lt;/HM:uid&gt; &lt;HM:timezoneid&gt;0&lt;/HM:timezoneid&gt; &lt;/D:prop&gt; &lt;/D:set&gt; &lt;/D:propertyupdate&gt; </pre> <br/> As you can see, I set the following properties:<br/> - repl-uid<br/> - uid<br/> - recurrenceid<br/> - instance type<br/> - the number at the end of the href to signal that this instance should be attached<br/> <br/> So what is wrong with this request? Do I forgot some property to set?<br/> <br/> <br/>Thu, 11 Jun 2009 09:23:04 Z2009-06-11T09:23:38Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#715454d9-3465-4b08-8e55-7a427a4229e9http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#715454d9-3465-4b08-8e55-7a427a4229e9Dominic Salemno MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Dominic%20Salemno%20MSFTCreating exception to recurring appointment [WebDAV]bravedreamer,<br/><br/>I am the engineer who has taken ownership of this issue. I am investigating this and will update you as things progress.<br/><br/><strong>Dominic Salemno<br/>Senior Support Escalation Engineer<br/></strong>Thu, 11 Jun 2009 15:13:06 Z2009-06-11T15:13:06Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#be6c67ad-1fd7-4804-ad55-52470009ea29http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#be6c67ad-1fd7-4804-ad55-52470009ea29bravedreamerhttp://social.msdn.microsoft.com/Profile/en-US/?user=bravedreamerCreating exception to recurring appointment [WebDAV]Thanks a lot.<br/>Thu, 11 Jun 2009 15:15:40 Z2009-06-11T15:15:40Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#2564c098-fb56-467b-b9e8-43a4ebe9686ehttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#2564c098-fb56-467b-b9e8-43a4ebe9686ebravedreamerhttp://social.msdn.microsoft.com/Profile/en-US/?user=bravedreamerCreating exception to recurring appointment [WebDAV]Any new information? <br/> <br/> Maybe you could provide me with some running code. Preferable in Java.Tue, 16 Jun 2009 07:08:24 Z2009-06-16T07:08:24Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#9592cd1e-0bf2-4c3d-9227-4968c0d6f441http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#9592cd1e-0bf2-4c3d-9227-4968c0d6f441Dominic Salemno MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Dominic%20Salemno%20MSFTCreating exception to recurring appointment [WebDAV]bravedreamer,<br/><br/>I am still investigating this issue. Unfortunately, we do not support Java as it is a non-Microsoft product.<br/>I will keep you up-to-date as things progress.<br/><br/><strong>Dominic Salemno<br/>Senior Support Escalation Engineer<br/></strong>Tue, 16 Jun 2009 14:46:10 Z2009-06-16T14:46:10Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#4ed6655e-ad97-416e-81d1-6ca23e223cdehttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#4ed6655e-ad97-416e-81d1-6ca23e223cdebravedreamerhttp://social.msdn.microsoft.com/Profile/en-US/?user=bravedreamerCreating exception to recurring appointment [WebDAV]Theoretically there should be no difference between Java and for example C#. As far as I get the WebDAV request string. ;)Tue, 16 Jun 2009 15:10:12 Z2009-06-16T15:10:12Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#16f5ac8c-dc79-44da-a7bc-9ff0aea03799http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#16f5ac8c-dc79-44da-a7bc-9ff0aea03799Dominic Salemno MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Dominic%20Salemno%20MSFTCreating exception to recurring appointment [WebDAV]bravedreamer,<br/><br/>Which publically published document underneath Open Specifications are you referencing?<br/><br/>Open Specifications: <a href="http://msdn.microsoft.com/en-us/library/cc203350.aspx">http://msdn.microsoft.com/en-us/library/cc203350.aspx</a><br/><br/><strong>Dominic Salemno<br/>Senior Support Escalation Engineer<br/></strong><br/><br/>Tue, 16 Jun 2009 15:50:44 Z2009-06-16T15:50:44Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#19a1e505-6200-4c00-af2a-62ab12d19d02http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#19a1e505-6200-4c00-af2a-62ab12d19d02bravedreamerhttp://social.msdn.microsoft.com/Profile/en-US/?user=bravedreamerCreating exception to recurring appointment [WebDAV]I'm not sure what do you mean.<br/> <br/> For working with calendar items (all sort of) I'm using the specification in document MS-XWDCAL (http://msdn.microsoft.com/en-us/library/dd299448.aspx). Unfortunately, I didn't find any information about how to create exceptions in a recurring appointment. Therefore I tried it by myself (just setting some properties, you know). The thing I observed is that the first time, the creation of an exception to a recurring appointment works. But if I try the same code a second time, it doesn't work anymore.<br/> <br/> That brings me to the conclusion that I'm doing a little thing wrong. Maybe I forgot just to set some property. I don't know.<br/>Wed, 17 Jun 2009 06:06:16 Z2009-06-17T06:06:16Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#42cd5724-8165-4e55-9b6f-8c97dd94e4e5http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#42cd5724-8165-4e55-9b6f-8c97dd94e4e5Dominic Salemno MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Dominic%20Salemno%20MSFTCreating exception to recurring appointment [WebDAV]bravedreamer,<br/><br/>I am still investigating this issue and will provide you with more information as things progress.<br/><br/><strong>Dominic Salemno<br/>Senior Support Escalation Engineer<br/></strong>Mon, 22 Jun 2009 14:02:00 Z2009-06-22T14:02:00Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#c02a280c-de92-436c-bd8c-fced557281b8http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#c02a280c-de92-436c-bd8c-fced557281b8bravedreamerhttp://social.msdn.microsoft.com/Profile/en-US/?user=bravedreamerCreating exception to recurring appointment [WebDAV]Okay, thanks. I'm sorry, but I didn't know that it takes that long. Unfortunately, this is a crucial part of my application and I would need it.<br/> <br/> I'm wondering a little that nobody asked you about this issue so far.Mon, 22 Jun 2009 14:37:03 Z2009-06-22T14:37:03Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#65f72683-ecff-4725-adde-2f479ec7fe96http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#65f72683-ecff-4725-adde-2f479ec7fe96Dominic Salemno MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Dominic%20Salemno%20MSFTCreating exception to recurring appointment [WebDAV]<p>bravedreamer,<br/><br/>I am still investigating this issue and should have an answer for you shortly.<br/><br/><strong>Dominic Salemno<br/>Senior Support Escalation Engineer<br/></strong></p>Thu, 09 Jul 2009 16:15:00 Z2009-07-09T16:15:00Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#a35258bb-00ce-4644-b978-1e57421d253fhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#a35258bb-00ce-4644-b978-1e57421d253fDominic Salemno MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Dominic%20Salemno%20MSFTCreating exception to recurring appointment [WebDAV]<p class=MsoNormal style="margin:0in 0in 0pt"><span style="font-family:Calibri;font-size:small">bravedreamer,</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><span style="font-family:Calibri;font-size:small">I have completed the investigation into your question and have some information that you may find valuable. In regards to exceptions, they are stored as attachments to the original recurring meeting. You can also create an exception by modifying some non-date/time properties, for example:</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">PROPPATCH /exchange/baracko/Calendar/{75C6CD24-6F6E-4F99-8189-EF0C086E6CDE}-3.EML HTTP/1.1</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">Content-type: text/xml</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">&lt;?xml version=&quot;1.0&quot;?&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">&lt;a:propertyupdate xmlns:a=&quot;DAV:&quot; </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">                  xmlns:e=&quot;urn:schemas:mailheader:&quot;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">                  xmlns:d=&quot;urn:schemas:calendar:&quot;&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">   &lt;a:set&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">      &lt;a:prop&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">         &lt;e:subject&gt;Longer, Later Daily test at noon&lt;/e:subject&gt; </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">       &lt;/&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">   &lt;/&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">&lt;/&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><strong><span style="font-size:small"><span style="font-family:Calibri">Also, removing a recurring instance also works:</span></span></strong></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">DELETE /exchange/baracko/Calendar/{75C6CD24-6F6E-4F99-8189-EF0C086E6CDE}-4.EML HTTP/1.1</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><strong><span style="font-size:small"><span style="font-family:Calibri">Date and Time Properties can also be changed as well:</span></span></strong></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">PROPPATCH /exchange/baracko/Calendar/{75C6CD24-6F6E-4F99-8189-EF0C086E6CDE}-3.EML HTTP/1.1</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">Content-type: text/xml</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">&lt;?xml version=&quot;1.0&quot;?&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">&lt;a:propertyupdate xmlns:a=&quot;DAV:&quot; </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">                  xmlns:e=&quot;urn:schemas:mailheader:&quot;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">                  xmlns:d=&quot;urn:schemas:calendar:&quot;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">                  xmlns:b=&quot;urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/&quot;&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">   &lt;a:set&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">      &lt;a:prop&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">         &lt;d:dtstart b:dt=&quot;dateTime.tz&quot;&gt;2009-07-28T20:00:00.000Z&lt;/d:dtstart&gt; </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">         &lt;d:dtend b:dt=&quot;dateTime.tz&quot;&gt;2009-07-28T21:00:00.000Z&lt;/d:dtend&gt; </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">         &lt;d:duration b:dt=&quot;int&quot;&gt;3600&lt;/d:duration&gt; </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">         &lt;e:subject&gt;Longer, Later Daily test at noon&lt;/e:subject&gt; </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">       &lt;/&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">   &lt;/&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">&lt;/&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><strong><span style="font-size:small"><span style="font-family:Calibri">* I also noticed that one of your issues is that you are not placing the types in for many of the properties. *</span></span></strong></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><strong><span style="font-size:small"><span style="font-family:Calibri">For example:</span></span></strong></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.75in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">&lt;HM:dtstart&gt;2009-06-23T10:00:00.000Z&lt;/HM:dtstart&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><strong><span style="font-size:small"><span style="font-family:Calibri">Should be:</span></span></strong></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in;tab-stops:150.75pt"><span style=""><span style="font-family:Calibri;font-size:small">                                                   </span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt 1in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">&lt;d:dtstart b:dt=&quot;dateTime.tz&quot;&gt;2009-07-28T20:00:00.000Z&lt;/d:dtstart&gt;</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt 1in"><span style="font-family:Calibri;font-size:small">If you do not see the types correctly set, the call will fail as what you are experiencing.</span></p> <p class=MsoNormal style="margin:0in 0in 0pt 0.5in"><span style="font-family:Calibri;font-size:small"> </span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><strong><span style="font-size:small"><span style="font-family:Calibri">Dominic Salemno</span></span></strong></p> <p class=MsoNormal style="margin:0in 0in 0pt"><strong><span style="font-family:Calibri;font-size:small">Senior Support Escalation Engineer</span></strong></p>Tue, 04 Aug 2009 20:27:17 Z2009-08-04T20:27:17Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#9abcae7b-1f56-4336-8988-ef19741f7900http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#9abcae7b-1f56-4336-8988-ef19741f7900bravedreamerhttp://social.msdn.microsoft.com/Profile/en-US/?user=bravedreamerCreating exception to recurring appointment [WebDAV]Okay. Thanks Mr. Salemno for your effort. <br/> <br/> Let me just summarize what you have said. Only to see if I've understood it well. ;)<br/> <br/> You say that in order to create an exception to a recurring appointment, I have to change only some non-date/time properties on the MASTER appointment? Is that correct?<br/> <br/> All that stuff of changing/deleting an exception afterwards (after having created it) is correct. This is very easy and could already do it. My problem is only the creation. I will try that (changing something in the master appointment) but sincerely, I'm not convinced that it would create an exception. <br/> <br/> <br/> As I have seen in your examples above, you are patching already an instance (<span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt">PROPPATCH /exchange/baracko/Calendar/{75C6CD24-6F6E-4F99-8189-EF0C086E6CDE}-3.EML HTTP/1.1</span> ) of the appointment. I tried it by myself (adding the next free number to the end of resource description (in your case the &quot;3&quot;)) but it does not work in all cases. For example if you have already some exceptions created with some other application (e.g. the web interface for Exchange) and try to add afterwards another excpetion through WebDAV, the thing with the number wouldn't work. Anyway, I will try to test it on my machine.<br/> <br/> For the thing with the data types you are absolutely right. I will change that too and hopefully see some positiv outcomings. :) <span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt"><br/> </span>Wed, 05 Aug 2009 08:04:02 Z2009-08-05T08:04:02Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#4c672dab-5938-453f-ad05-aa994717c279http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#4c672dab-5938-453f-ad05-aa994717c279Dominic Salemno MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Dominic%20Salemno%20MSFTCreating exception to recurring appointment [WebDAV]bravedreamer,<br/><br/>I am investigating the creation of exceptions, I shall follow-up with you as things progress.<br/><br/><strong>Dominic Salemno<br/>Senior Support Escalation Engineer<br/></strong>Wed, 05 Aug 2009 18:28:01 Z2009-08-05T18:28:01Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#54e016a2-dc26-41fe-ac6e-5cb1274ebfc7http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#54e016a2-dc26-41fe-ac6e-5cb1274ebfc7Dominic Salemno MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Dominic%20Salemno%20MSFTCreating exception to recurring appointment [WebDAV]bravedreamer,<br/><br/>If you review [MS-OXOCAL] (&quot;Appointment and Meeting Object Protocol Specification&quot; : <a href="http://msdn.microsoft.com/en-us/library/cc425490.aspx">http://msdn.microsoft.com/en-us/library/cc425490.aspx</a>) Section 1.3.1.1.1, you will notice what is defined by term <strong>Exception</strong>.<br/><br/>From the documentation:<br/><br/><em>An exception represents a modified <strong>instance</strong> of a recurring event. This could be as simple as extra <br/>data in the body, or it could be more complicated, such as a change in date/time or location. An <br/>exception is defined by an <strong>Exception Attachment object</strong> and an </em><strong><em>Exception Embedded Message <br/>object.</em><br/><br/></strong>You must modify an existing instance of a recurring event to create an exception.<br/><br/>Does this information assist you?<br/><br/><strong>Dominic Salemno<br/>Senior Support Escalation Engineer<br/></strong>Thu, 06 Aug 2009 17:13:45 Z2009-08-06T17:13:45Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#b7fa1187-178a-404e-af1a-30d928f441f7http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#b7fa1187-178a-404e-af1a-30d928f441f7bravedreamerhttp://social.msdn.microsoft.com/Profile/en-US/?user=bravedreamerCreating exception to recurring appointment [WebDAV]Hi Dominic<br/> <br/> I didn't know about this special document. I got the definition of an <strong>exception </strong> from some posts in divers forums. But as far as I see, this definition is the same as the one in your document. We are speaking about the same. ;)<br/> <br/> Sorry, but unfortunately I'm not getting your point. How do I get an existing instance of a recurring event? Suppose you have a recurring appointment that recurrs every 2 week with no end date. And suppose we have no exception in this recursion. When I perform now a request to the server and try to get the appointment, the server will return me the master appointment. So, I get no information about a specific instance.<br/> <br/> Let me clarify again my point (maybe we didn't understood well): I have no problem to delete or modify an instance of a recurring appointment. As long as I have a valid URL or UID, I can get any instance I want. The problem for me is now the creation of such an instance because there I don't have any URL or UID. If I would program for example through the .NET framework then this would be no problem because I have already the infrastruction (all the data structures) to handle the attachments (you said already that exceptions are stored as attachments to the master appointment). Therefore, I would simply add a new attachment. But in Java, I have to handle such requests through the WebDAV protocol and I have seen that attachments to recurring appointments are simply marked through an additional number at the end of the URL. Please correct me, if that is not correct. Following example:<br/> <br/> If I would use the URL given in this request the server would return me the basic appointment (master appointment)<br/> <span style="font-family:'MS Shell Dlg','sans-serif';font-size:7.5pt"> <pre>PROPPATCH /exchange/baracko/Calendar/{75C6CD24-6F6E-4F99-8189-EF0C086E6CDE}.EML HTTP/1.1</pre> </span> But if I would use this URL in the request, the server would return a specific instance (if it exists):<br/> <pre>PROPPATCH /exchange/baracko/Calendar/{75C6CD24-6F6E-4F99-8189-EF0C086E6CDE}-3.EML HTTP/1.1</pre> <br/> My specific problem is now to create such a number at the end of the URL. If you have a hint for me, please let me know it.<br/> <br/> If I missed your point, please could you provide me with an example where you create first a recurring appointment, afterward create an exception to it and last but not least change, for example the room number the master appointment created in the first step.<br/> <br/> Thank you very much.<br/> <br/> <br/> <br/>Fri, 07 Aug 2009 13:04:12 Z2009-08-07T13:04:12Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#b9f9cf06-5be0-4056-9eed-0039e5f0cfc9http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#b9f9cf06-5be0-4056-9eed-0039e5f0cfc9Dominic Salemno MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Dominic%20Salemno%20MSFTCreating exception to recurring appointment [WebDAV]bravedreamer,<br/><br/>I am still investigating this issue and will update you as things progress.<br/><br/><strong>Dominic Salemno<br/>Senior Support Escalation Engineer<br/></strong>Mon, 17 Aug 2009 13:56:48 Z2009-08-17T13:56:48Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#73f8659a-6e23-4ea3-a16e-c9f5fb14e7cdhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#73f8659a-6e23-4ea3-a16e-c9f5fb14e7cdDominic Salemno MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Dominic%20Salemno%20MSFTCreating exception to recurring appointment [WebDAV]bravedreamer,<br/><br/>I am still investigating this matter.<br/><br/><strong>Dominic Salemno<br/>Senior Support Escalation Engineer<br/></strong>Fri, 21 Aug 2009 15:21:26 Z2009-08-21T15:21:26Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#175edae1-b456-4638-b789-9e87c30c25bfhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#175edae1-b456-4638-b789-9e87c30c25bfbravedreamerhttp://social.msdn.microsoft.com/Profile/en-US/?user=bravedreamerCreating exception to recurring appointment [WebDAV]Okay, fine. I hope not to bother you too much. ;)<br/> <br/> If you have any question or if you need a more detailed example/explanation, feel free to contact me.<br/> <br/> Thanks very much for your assist.<br/>Fri, 21 Aug 2009 18:03:09 Z2009-08-21T18:03:09Zhttp://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#f1804cf6-3892-420b-9ca1-f56d3a581915http://social.msdn.microsoft.com/Forums/en-US/os_exchangeprotocols/thread/224e95d1-67bf-491a-9c73-0f79ec713f44#f1804cf6-3892-420b-9ca1-f56d3a581915Dominic Salemno MSFThttp://social.msdn.microsoft.com/Profile/en-US/?user=Dominic%20Salemno%20MSFTCreating exception to recurring appointment [WebDAV]bravedreamer,<br/><br/>The following is an example of creating an appointment via WebDAV:<br/><br/><span style="font-size:xx-small"><span style="font-size:xx-small"> <p>PROPPATCH /exchange/administrator/calendar/meeting.eml HTTP/1.1</p> <p>Content-type: text/xml</p> <p>Translate: f</p> <p>&lt;?xml version=&quot;1.0&quot;?&gt;</p> <p>&lt;a:propertyupdate</p> <p>xmlns:a=&quot;DAV:&quot;</p> <p>xmlns:c=&quot;urn:schemas:calendar:&quot;</p> <p>xmlns:dt=&quot;urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/&quot;</p> <p>xmlns:e=&quot;urn:schemas:httpmail:&quot;</p> <p>xmlns:f=&quot;http://schemas.microsoft.com/exchange/&quot;</p> <p>xmlns:j=&quot;urn:schemas:mailheader:&quot; &gt;</p> <p>&lt;a:set&gt;</p> <p>&lt;a:prop&gt;</p> <p>&lt;e:textdescription&gt;The body text&lt;/e:textdescription&gt;</p> <p>&lt;a:contentclass&gt;urn:content-classes:appointment&lt;/a:contentclass&gt;</p> <p>&lt;f:outlookmessageclass&gt;IPM.Appointment&lt;/f:outlookmessageclass&gt;</p> <p>&lt;c:busystatus&gt;BUSY&lt;/c:busystatus&gt;</p> <p>&lt;c:dtstart dt:dt=&quot;dateTime.tz&quot;&gt;2009-08-24T15:00:00.000Z&lt;/c:dtstart&gt;</p> <p>&lt;c:location&gt;here&lt;/c:location&gt;</p> <p>&lt;j:subject&gt;Simple meeting&lt;/j:subject&gt;</p> <p>&lt;c:duration dt:dt=&quot;int&quot;&gt;1800&lt;/c:duration&gt;</p> <p>&lt;c:dtend dt:dt=&quot;dateTime.tz&quot;&gt;2009-08-24T15:30:00.000Z&lt;/c:dtend&gt;</p> <p>&lt;/&gt;</p> <p>&lt;/&gt;</p> <p>&lt;/&gt;<br/><br/><strong>Dominic Salemno<br/>Senior Support Escalation Engineer<br/></strong></p> </span></span>Tue, 25 Aug 2009 23:44:58 Z2009-08-25T23:44:58Z