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

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
  #1 (permalink)  
Old 05-20-2009, 12:46 PM
New Member
 
Posts: 4
Default Best way to interface with Zimbra using Python

Hello,

I'm investigating integrating our internal applications (in Django) with Zimbra features. In my research I think the two possible routes for me to go are using SOAP or REST. So far, I've attempted using SOAP through ZPI and SOAPpy. Neither of which have worked so far. SOAPpy almost worked, but complained that it received a duplicate id.

I personally would love to use REST as it's simpler for me. I've barely touched SOAP before. It doesn't appear that there is any documentation of the abilities of the REST API?

If someone thinks there is a better method for connecting using Python, I would love to know more?

If someone has done this before, I would love to see a code example of authenticating against the server in Python.
Reply With Quote
  #2 (permalink)  
Old 05-27-2009, 09:51 AM
New Member
 
Posts: 4
Default

I see that the REST api isn't functionally complete. When looking at ?dev=1 it seems like some things are sent and recieved using JSON, while others are not.

I'm currently writing a Zimbra Python library using the SOAP interface since there were no responses to this thread. I've thrown up my progress at PyZim I'll probably license it LGPL.

Last edited by emperorcezar; 05-27-2009 at 09:54 AM..
Reply With Quote
  #3 (permalink)  
Old 09-24-2009, 11:20 AM
New Member
 
Posts: 3
Default duplicate id is a bug?

Quote:
Originally Posted by emperorcezar View Post
[...] SOAPpy almost worked, but complained that it received a duplicate id.
I think this is a bug in Zimbra, and have reported it here: Bug 41270 – SOAP AuthResponse conatins duplicate sessionId
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.