Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Mobility > Zimbra Mobile

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #11 (permalink)  
Old 05-03-2007, 09:06 AM
Zimlet Guru & Moderator
 
Posts: 467
Default

Quote:
Originally Posted by roli8200 View Post
>AFAIK the Exchange connector syncs with calendar, addressbook, mail and possibly >tasklist.
Yes, I know this, but are this information offered by Zimbra via Dav?

Roland
Yep. Looking at the source code, there is DAV support in the Zimbra source code. But it's also very trivial to get at this information via the REST interface. In particular, the Sync interface that the Zimbra Mobile and Zimbra Desktop applications use is designed to pull this information.

If there is already a lot of code available to consume DAV on the mobile server, that might be the way to go. If you are going to code things from scratch, I definitely suggest the Sync Formatter, or even the raw mbox and vcard formats instead. It just pure HTTP GET/POST, and is a much simpler code path.

For example, to read a email message, all I have to do is GET:
https://www.technicaldetails.org/zim...42259&fmt=sync
Quote:
X-Zimbra-Tags:
X-Zimbra-Flags:
X-Zimbra-Received: 1178169021000
X-Zimbra-Modified: 1178205618000
X-Zimbra-Change: 59712
X-Zimbra-Revision: 59703
X-Zimbra-Conv: -42259
Received: from localhost (localhost.localdomain [127.0.0.1])
by technicaldetails.org (Postfix) with ESMTP id 1D5E610A889;
Thu, 3 May 2007 01:10:20 -0400 (EDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Score: -2.997
X-Spam-Level:
X-Spam-Status: No, score=-2.997 tagged_above=-10 required=5
tests=[ALL_TRUSTED=-1.8, AWL=0.442, BAYES_00=-2.599,
NO_REAL_NAME=0.961, SPF_HELO_PASS=-0.001]
Received: from technicaldetails.org ([127.0.0.1])
by localhost (technicaldetails.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id qhKJfEreKJiu; Thu, 3 May 2007 01:10:16 -0400 (EDT)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by technicaldetails.org (Postfix) with ESMTP id 8988910A885
for <admin@blahorg>; Thu, 3 May 2007 01:10:16 -0400 (EDT)
Subject: Daily mail report from 2007-05-02 00:00:00 to 2007-05-03 00:00:00
X-Mailer: Mail::Mailer[v1.74] Net::SMTP[v2.30]
To: admin@blahorg
From: admin@blahorg
Message-Id: <20070503051016.8988910A885@technicaldetails.org >
Date: Thu, 3 May 2007 01:10:16 -0400 (EDT)

Generating report
From 2007-05-02 00:00:00 to 2007-05-03 00:00:00


162 messages found for 238 total recipients (12 unique)
3142407 total bytes
19397.57 average bytes/msg
1.47 average recipients/msg
4.70 average delay/msg (sec)

Errors
The sync interface works transparently with contacts and calender items. If you do a sync on a calender item, it will return a message including the invite, and a ics representation of the event.

Last edited by JoshuaPrismon; 05-03-2007 at 09:19 AM..
Reply With Quote
  #12 (permalink)  
Old 05-03-2007, 10:06 AM
Project Contributor
 
Posts: 33
Default Soap Sync

Hello

Many thanks for the reply. I would like to prefer using the soap interface because there is a easy to use lib for Java. Using get/post requests would force me to do a lot of string parsing. The SOAP library would do that for me.

Is there a doc about the soa objects and methods on zimbra. I know it's all in sourcecode but there a so much lines of code that I would take weeks to get behind the detailed functions.

Roland
Reply With Quote
  #13 (permalink)  
Old 05-03-2007, 12:15 PM
Zimbra Employee
 
Posts: 1,688
Default

Under ZimbraServer/docs there are a bunch of docs on soap as well as on sync over soap.
Reply With Quote
  #14 (permalink)  
Old 05-03-2007, 02:57 PM
Zimlet Guru & Moderator
 
Posts: 467
Default

Quote:
Originally Posted by roli8200 View Post
Hello

Many thanks for the reply. I would like to prefer using the soap interface because there is a easy to use lib for Java. Using get/post requests would force me to do a lot of string parsing. The SOAP library would do that for me.

Is there a doc about the soa objects and methods on zimbra. I know it's all in sourcecode but there a so much lines of code that I would take weeks to get behind the detailed functions.

Roland
Soap.txt and Firebug are your friends. Firebug will show the traffic across the wire, which will reveal how each SOAP request is actually constructed. The response can come back in js or in xml.

That being said, given the complexity of SOAP libraries, you may want to look at zClient, which is's Zimbra's java client library, or if your program can take RFC encoded emails, sticking with the REST approach.
Reply With Quote
  #15 (permalink)  
Old 05-03-2007, 09:57 PM
Intermediate Member
 
Posts: 24
Default

I have seen quite a few people talk about developing there own Funambol connectors. I have some java dev resources i could share if anyone could provide a framework of code (ie alpha version of a connector) for us to work with.

It would be tough to justify using the resources to make one from scratch, but if we were just improving existing code then it would be a much easier sell.
Reply With Quote
  #16 (permalink)  
Old 05-03-2007, 10:53 PM
Zimlet Guru & Moderator
 
Posts: 467
Default

Quote:
Originally Posted by colin7151 View Post
I have seen quite a few people talk about developing there own Funambol connectors. I have some java dev resources i could share if anyone could provide a framework of code (ie alpha version of a connector) for us to work with.

It would be tough to justify using the resources to make one from scratch, but if we were just improving existing code then it would be a much easier sell.
I am sure that there is some sort of basic funabol connector that we could work off of here. I also have a SVN repository set up if anyone wants to use that.
Reply With Quote
  #17 (permalink)  
Old 05-04-2007, 12:18 AM
Zimbra Employee
 
Posts: 4,792
Default

We have a Funambol connector which was written for ZCS v3.1 and Funambol v2.0. Our hope would be to put this in our zimbra-xtras SVN and get a few interested parties work on updating it to the latest version of Zimbra (v4.5.x) and Funambol (v3.0 and v6.0 beta). Keep an eye on this thread as we work to get the code in SVN and grant SVN commit access. As a start if your interested in helping and don't already have a signed contributor agreement please sign a copy and fax/mail a hard copy to us.

http://www.zimbra.com/community/contribute.html
__________________
Bugzilla - Wiki - Downloads - Offline Client
Reply With Quote
  #18 (permalink)  
Old 05-04-2007, 12:21 PM
Project Contributor
 
Posts: 33
Default Contract Signet

Hello

The Contract is signet and mailed to contributions@zimbra.com

Roland
Reply With Quote
  #19 (permalink)  
Old 05-07-2007, 11:35 AM
Project Contributor
 
Posts: 10
Default

Hi Roland and Kevin,

I'd like to join the work on zimbra connector for funambol.
I signed the contribution agreement and sent by email to contributions@zimbra.com .

Just one question: is the plugin targeted to work only with the NE license? any answer to this question will not change my will to cooperate

thanks!

Last edited by shadowscheme; 05-07-2007 at 01:06 PM..
Reply With Quote
  #20 (permalink)  
Old 05-11-2007, 02:46 AM
Project Contributor
 
Posts: 33
Default SVN-Repo Data

Hello

Can You tell me when the old Funambol code is in the svn repo? I tried to search for it but couln't find it yet.

Thanks

Roland
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.