|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Respond to meeting request using WebDAVHow do I respond to a meeting request using WebDAV (Exchange 2000/2003)?
Thanks in advance. Eric "Eric" <e***@voiceautomation.com> wrote in message It's very hard to find any information about doing high-level thing likenews:OtZwZzY0EHA.3408@tk2msftngp13.phx.gbl... > How do I respond to a meeting request using WebDAV (Exchange 2000/2003)? > Thanks in advance. > > Eric this in WebDAV. My best suggestion is to simulate an OWA button press, and send a GET request to the Meeting Request's URL, but with /Cmd=accept (or tentative, or decline) appended to the end of the URL. You should get the HTML source for an OWA page as a response. You will then need to examine the response for the occurrence of the text "<BASE HREF=". The URL following this text is the URL of the newly created response, if it was successful. Lee. -- _______________________________________ Outlook Web Access For PDA , OWA For WAP: www.leederbyshire.com email a@t leederbyshire d.0.t c.0.m _______________________________________ You may want to use CDO for Exchange which can do this. It does need to run
on the Exchange Server but you could expose the functionality as a web service that you call in the mid-tier. Tom -- Show quoteHide quoteLooking for a good book on programming Exchange, Outlook, ADSI and SharePoint? Check out http://www.microsoft.com/MSPress/books/5517.asp "Lee Derbyshire [MVP]" <email a@t leederbyshire d.0.t c.0.m> wrote in message news:%239K$jKk0EHA.4004@tk2msftngp13.phx.gbl... > "Eric" <e***@voiceautomation.com> wrote in message > news:OtZwZzY0EHA.3408@tk2msftngp13.phx.gbl... >> How do I respond to a meeting request using WebDAV (Exchange 2000/2003)? >> Thanks in advance. >> >> Eric > > It's very hard to find any information about doing high-level thing like > this in WebDAV. My best suggestion is to simulate an OWA button press, > and > send a GET request to the Meeting Request's URL, but with /Cmd=accept (or > tentative, or decline) appended to the end of the URL. You should get the > HTML source for an OWA page as a response. You will then need to examine > the response for the occurrence of the text "<BASE HREF=". The URL > following this text is the URL of the newly created response, if it was > successful. > > Lee. > > -- > _______________________________________ > > Outlook Web Access For PDA , OWA For WAP: > www.leederbyshire.com > email a@t leederbyshire d.0.t c.0.m > _______________________________________ > > Okay, this sort of works - (in C#) I get a WebException with an error of 401
(Unauthorized), yet the meeting request is gone from the Inbox, and the "accepted" response is in Drafts. Any ideas of why this half works? Thanks in advance. Eric Show quoteHide quote "Lee Derbyshire [MVP]" <email a@t leederbyshire d.0.t c.0.m> wrote in message news:%239K$jKk0EHA.4004@tk2msftngp13.phx.gbl... > "Eric" <e***@voiceautomation.com> wrote in message > news:OtZwZzY0EHA.3408@tk2msftngp13.phx.gbl... > > How do I respond to a meeting request using WebDAV (Exchange 2000/2003)? > > Thanks in advance. > > > > Eric > > It's very hard to find any information about doing high-level thing like > this in WebDAV. My best suggestion is to simulate an OWA button press, and > send a GET request to the Meeting Request's URL, but with /Cmd=accept (or > tentative, or decline) appended to the end of the URL. You should get the > HTML source for an OWA page as a response. You will then need to examine > the response for the occurrence of the text "<BASE HREF=". The URL > following this text is the URL of the newly created response, if it was > successful. > > Lee. > > -- > _______________________________________ > > Outlook Web Access For PDA , OWA For WAP: > www.leederbyshire.com > email a@t leederbyshire d.0.t c.0.m > _______________________________________ > > "Eric" <e***@voiceautomation.com> wrote in message I sometimes find when I do this sort of thing that the first response status news:%23sfDyA65EHA.1028@TK2MSFTNGP10.phx.gbl... > Okay, this sort of works - (in C#) I get a WebException with an error of > 401 > (Unauthorized), yet the meeting request is gone from the Inbox, and the > "accepted" response is in Drafts. > > Any ideas of why this half works? Thanks in advance. > > Eric is 302 (a redirect to another form), but the credentials don't seem to be used when the redirect is followed, causing a 401. I don't know enough about C# to say exactly what you should do, but I fix it in VBScript by configuring the HTTP component not to follow any redirects, and retrieving its Location response header, and then following it 'non-automatically', whatever the word for that is? Lee. -- ___________________________________ Outlook Web Access for PDA and WAP: www.leederbyshire.com ___________________________________
Other interesting topics
Create recurring appointment with cdo
Creating an appointment (WebDav) Logon with diferent user accounts Re: OnSyncSave "No such interface supported" opening the Message item Re: Using WebDAV to send the customized Appointment Form in Calendar, the Form is lost. Get BCC field through WebDAV Registering For Store Wide Events Re: Deleting a response also deletes the appointment JournalBCC Re: WebDAV address formatting |
|||||||||||||||||||||||