简体   繁体   English

从Java与Exchange 2003交谈

[英]Talk to Exchange 2003 from Java

What choices might I have for talking to an Exchange 2003 server from a Java application? 从Java应用程序与Exchange 2003服务器通信可能有哪些选择? I've heard a few references to projects that offer some .NET services to Java. 我听过一些对Java提供.NET服务的项目的引用。 I think I've also heard something about Exchange 2007 exposing web services, but I'm not sure if that's available in 2003. 我想我也听说过有关Exchange 2007暴露Web服务的一些内容,但我不确定它是否可以在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. 编辑:通过“与...交谈”我并不仅仅意味着获取消息,我可以通过IMAP来做...我的意思是访问更具特定于Exchange的内容,例如联系人。

You can use WebDAV to access Exchange Server 2003: 您可以使用WebDAV访问Exchange Server 2003:
http://msdn.microsoft.com/en-us/library/aa486282(EXCHG.65).aspx http://msdn.microsoft.com/en-us/library/aa486282(EXCHG.65).aspx

This MSDN article demonstates how to manipulate the contacts using WebDAV: 这篇MSDN文章演示了如何使用WebDAV操作联系人:
http://support.microsoft.com/kb/296126 http://support.microsoft.com/kb/296126
(Example code is written in VB, but it should give you an idea on how to do it.) (示例代码是用VB编写的,但它应该让您了解如何执行此操作。)

For Exchange 2003, you can use WebDav. 对于Exchange 2003,您可以使用WebDav。 Apache had an older Slide library to help with this, but you really don't need it. Apache有一个较旧的Slide库来帮助解决这个问题,但你真的不需要它。 You can just use the HttpClient from Apache Commons. 您可以使用Apache Commons中的HttpClient。 link . 链接

If you are doing Exchange 2007, then use EWS, via web services. 如果您正在使用Exchange 2007,则通过Web服务使用EWS。 Easier, richer. 更容易,更丰富。 link . 链接

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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