1

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

user393381
  • 327
  • 3
  • 5
  • 13

2 Answers2

1

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.

MJB
  • 9,352
  • 6
  • 34
  • 49
  • Thank you for your answer MJB. I will check what is REST, I am a beginner. I will digg into everything you gave me. Thanks again. – user393381 May 31 '11 at 01:51
  • Also, I can see that this API is for the 6.0 version of Zimbra, does it matters? Can I use it with Zimbra 7.0? Can the same API be used with the different versions of Zimbra? (Desktop, Open Source Edition, Application and Network Edition). – user393381 May 31 '11 at 02:18
  • I also found this here: http://zimbra.svn.sourceforge.net/viewvc/zimbra/trunk/ZimbraServer/src/java/com/zimbra/cs/account/ProvUtil.java?view=markup But cannot find any official doc about it. Is there any Java API? – user393381 May 31 '11 at 19:35
1

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.

Jeshurun
  • 22,940
  • 6
  • 79
  • 92