Zimbra 连接器
我刚刚发现了 Zimbra,并且有一个用 Java 编写的连接器。我一直在网上寻找其他人的一些文档或经验,但找不到任何东西。是否有任何关于 API 的良好文档,以便我可以开始并检查可以用它做什么?
谢谢
I just discovered Zimbra and have a connector in Java to write. I have been looking on the web to find some documentation or experience from other people but could not find anything. Is there any good documentation of the API somewhere so I can get started and check what is possible to do with it?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
REST API:
这里
有一个 SOAP API,但它是.. ...非常奇怪...让我慷慨地说。它就在
这里
为什么它“奇怪”。它没有 WSDL,这是一个有趣的......选择。
REST API:
Here
There's a SOAP API, but it's..... very odd.... let me put that genorously. It is
here
Why is it "odd".It's WSDL-less, which is an interesting....choice.
最好的办法是查看 Zimbra 安装的 docs 文件夹(如果您使用的是 Linux,通常为 /opt/www/docs),并根据具体情况查看soap.txt、soap-admin.txt 和rest.txt你想要实现的目标。
其余 API 通常非常适合下载用户的邮箱和其他内容(例如联系人和日历条目)作为存档,以防您想要备份它们。
管理 API 对于管理服务器及其用户、检查状态、刷新邮件队列等很有用。
如果您想实现客户端(用户)功能,请查看 Zimbra 桌面客户端的源代码。
这里有一篇文章它为管理 SOAP API 提供了一个(部分)兼容 Java 的 WSDL 文件,并且还提供了一个包含使用 CXF 从它们生成的即用型客户端代理的 jar。
Your best bet would be to look in the docs folder of your Zimbra installation (usually /opt/www/docs if you are on linux) and have a look at soap.txt, soap-admin.txt and rest.txt depending on what you want to achieve.
The rest APIs are generally great for downloading a user's mailbox and other content such as contact and calendar entries as an archive, in case you want to back them up.
The admin apis are useful for managing the server and its users, checking the status, flushing the mail queue, etc.
If you want to implement client(user) functions, have a look at the source code for the Zimbra desktop client.
There is a post here which provides a (partial) Java compliant WSDL file for the Admin SOAP api, and also a jar containing ready-to-use client proxies generated from them with CXF.