简体   繁体   中英

Talk to Exchange 2003 from Java

What choices might I have for talking to an Exchange 2003 server from a Java application? I've heard a few references to projects that offer some .NET services to Java. I think I've also heard something about Exchange 2007 exposing web services, but I'm not sure if that's available in 2003.

Has anyone done this? Any suggestions?

Edit: by "talk to" I don't mean just getting messages, which I could do via IMAP...I mean accessing things that are more Exchange-specific, like contacts.

You can use WebDAV to access Exchange Server 2003:
http://msdn.microsoft.com/en-us/library/aa486282(EXCHG.65).aspx

This MSDN article demonstates how to manipulate the contacts using WebDAV:
http://support.microsoft.com/kb/296126
(Example code is written in VB, but it should give you an idea on how to do it.)

For Exchange 2003, you can use WebDav. Apache had an older Slide library to help with this, but you really don't need it. You can just use the HttpClient from Apache Commons. link .

If you are doing Exchange 2007, then use EWS, via web services. Easier, richer. link .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM