This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release. The WebDAVNOTIFY method is called by the server whenever an event that the client has subscribed to fires. The NOTIFY method will send User Datagram Protocol (UDP) packets to the client until the subscription has timed out. The subscription to the resource will persist after the notification is sent by the server.
A NOTIFY method without a Subscription-ID Header is an unsolicited notification. This can be used if the server wants to notify all clients, for example, that the store was shut down and that notifications will not be working properly for some period of time. Call back responses may not occur in real time because the store may automatically coalesce events.
Because UDP packets sent by the NOTIFY method may be lost, the server will keep track of past events that have subscriptions. The server will maintain subscriptions for which events occurred until the client sends an acknowledgement (using the Subscription-ID Header in any method, typically the POLL Method) that it is refreshing the subscription.
The following is an example UDP Request from a server. The Uniform Resource Identifier (URI) that is used was originally specified in the Call-Back Header of the SUBSCRIBE Method when the subscription was created. The Subscription-ID Header is the identifier of the subscription for the event being fired.
NOTIFY httpu://www.fourthcoffee.com:8080/510 HTTP/1.1 Subscription-id: 15
Send us your feedback about the Microsoft Exchange Server 2003 SDK.
Build: June 2007 (2007.618.1)