Guest
|
Posted:
Thu Dec 08, 2005 1:59 am Post subject:
WebDAV SUBSCRIBE sequence of events |
|
|
Hello,
I am creating a windows service to run on a server and monitor a
specific mailbox on one of our exchange servers. I understand the
concept of subscribing to a update/delete event, but I am unclear on
the sequence of events that takes place. Could someone quickly describe
the events to take place? From what i gather now it goes something like
this:
1. My service will send a "SUBSCRIBE" request to the exchange server
for the usersr mailbox the subscribe event will last as long as the
lifetime defined when i send the request (if I want my service to
ALWAYS subscribe to this is there a way to make the lifetime
permamnent?
2. When the notification is met, the exchange server sends a response
to my service? (how exactly do I handle the notification?)
3. My service can perform whatever tasks necessary when it receives the
notification
again, i'm not clear on how I handle the notification within my app?
does it call my service in a specific manner or send it an xml
response? And how do I handle if whenever this service is running, that
it is subscribed to that event?
any help would be appreciated.
Sean
|
|