Exchange 2000/2003 Event Sink Registration via WebDAV

Exchange 2000/2003 Event Sink Registration via WebDAV

Post by Shaun Wils » Thu, 09 Jun 2005 00:28:46


I'm looking for example code or similar documentation (such as schema) for
the Event Sink Registration files that I need to create to register my COM+
Application as an Event Sink component.

I can find everything I need it seems, except a file format, or a clarified
list of properties (unsure if the props I see are actually valid as WebDAV
props or not).

My goal is to manage event registration using WebDAV since I'm developing in
.NET I'd prefer not to use the ADO method of managing the registration file.
All the books and online resources I've found fall back on the ADO method.

Thanks in advance,
Shaun Wilson
 
 
 

Exchange 2000/2003 Event Sink Registration via WebDAV

Post by eblanc » Thu, 09 Jun 2005 03:19:03


Shaun, check out the following link:

http://www.yqcomputer.com/

 
 
 

Exchange 2000/2003 Event Sink Registration via WebDAV

Post by Shaun Wils » Thu, 09 Jun 2005 03:40:40

Thanks.

I have already reviewed this link, I'm fairly certain i've exhausted what
MSDN has to offer in terms of documentation on Event Registration. I have a
book provided by my employer ISBN 0-7356-0772-9 circa 2000, this book
mentions that the Event Sink Registration can be done using ADO,
eventreg.vbs and XML (in another section, mentions using WebDAV in lieu of
saying you can use XML).

I was unclear, I understand I can use the ADO mechanism, as well as use
eventreg.vbs, what I want is to programmatically introduce an Event Sink
Registration using WebDAV, the areas I am uncertain about are format/content
of the file i submit and correct use/application of the Events namespace
properties via WebDAV.

Hopefully that's more clear, thanks again I appreciate the input. It seems
as though nothing on the internet provides the exact information I need in
the form of documentation or samples.
 
 
 

Exchange 2000/2003 Event Sink Registration via WebDAV

Post by eblanc » Thu, 09 Jun 2005 04:52:24

I see what you mean now. I think I tried this months ago and it didn't
work for me. The link I sent you earlier is what eventually worked.
Anyway, check out this kb link at ms that addresses WebDAV event
registration:

http://www.yqcomputer.com/ ;en-us;306046

Also, check out this book: ISBN 0735614644.
 
 
 

Exchange 2000/2003 Event Sink Registration via WebDAV

Post by Henning Kr » Thu, 09 Jun 2005 04:57:10

ello,

take a look here:
http://msdn.microsoft.com/library/en-us/e2k3/e2k3/_exch2k_adding_an_event_registration_for_a_folder.asp

Although it uses ADO, the pricinple is the same with WebDAV. You must set
the same properties to get it to work.

Of course the URL is different. What type of sink do you want to register?
On a single folder or a store wide event sink? The url for the first one ist
just the WebDAV URL of the folder (http://myserver/public/folder/eventitem).
For store wide events see this link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/e2k3/e2k3/_exch2k3_registering_for_mdb_wide_events.asp
With WebDAV this link would look like this:
http://server/exadmin/admin/<full-qualified-dns-name>/public%20folders

After you have your url, you just do a PROPPATCH on that url to create the
registration item.

To use the props within WebDAV you must split them up into the namespace and
the property name:

<?xml version="1.0"?>
<a:propertyupdate xmlns:a="DAV:"
xmlns:evt=http://schemas.microsoft.com/exchange/events/>
<a:set>
<a:prop>
<evt:Criteria>WHERE $DAV:ishidden$ = FALSE</evt:criteria>
<evt:MatchScope>deep</evt:MatchScope
</a:prop>
</a:set>
</a:propertyupdate>

Greetings,
Henning Krause [MVP]
==========================
Visit my website: http://www.infinitec.de
Try my free Exchange Explorer: Mistaya
(http://www.infinitec.de/software/mistaya.aspx)


"Shaun Wilson" < XXXX@XXXXX.COM > wrote in message
news: XXXX@XXXXX.COM ...


 
 
 

Exchange 2000/2003 Event Sink Registration via WebDAV

Post by Shaun Wils » Thu, 09 Jun 2005 05:23:31

Awesome, you've answered all of my questions and then some, thanks a ton.
 
 
 

Exchange 2000/2003 Event Sink Registration via WebDAV

Post by Shaun Wils » Thu, 09 Jun 2005 05:26:28

To add to your post for any others in the future, the documentation for the
events namespace can be found at:

http://www.yqcomputer.com/