I'm trying to retrieve calendar information from a exchange 2007 server, using CalDAV and DavMail.
As a beginner I'm finding it hard to get started, since i can't find any good guides/tutorials.
Is it possible to use the iCal4j-connector to query the server?
And is there any documentation available that could help me get started?
Exchange 2007 and later is using Exchange Web Services, which is based on SOAP. You can't use any CalDAV libraries to talk to it. If you wish to use EWS, I have a stub to talk to Exchange here:
(check the com and org folders)
Thank you for the quick reply!
I was under the impression that DavMail gateway made it possible to use CalDAV in order to talk to an Exchange server.
In the application I'm writing I need to connect to the server, fetch calendar information for a spesific user on a given date. Will I be able to perform these tasks using the stub you linked?
Is there any javadocs and/or examples available?
I never used DavMail but looks like it uses the old WebDAV API from Exchange 2003 and earlier, and Microsoft is moving away from that to use EWS instead. But DavMail might support EWS:
(support is disabled by default). So either you go "native" by using EWS or you use DavMail, and ical4j-connector to connect to DavMail. For usage example of my stub, check:
As for fetching by date, I never tried that, but a couple of pointers:
What I usually do for that is that I do the process within Outlook 2011 on my Mac and I sniff the trafic with a proxy (Charles) so that I can see what Outlook and EWS are sending.
Log in to post a comment.