Results 1 to 3 of 3

Thread: Best way to interface with Zimbra using Python

  1. #1
    emperorcezar is offline New Member
    Join Date
    May 2009
    Posts
    4
    Rep Power
    6

    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.

  2. #2
    emperorcezar is offline New Member
    Join Date
    May 2009
    Posts
    4
    Rep Power
    6

    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.

  3. #3
    simen@mnemonic.no is offline New Member
    Join Date
    May 2009
    Posts
    3
    Rep Power
    6

    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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Upgrade to ZCS 5.10
    By blozancic in forum Installation
    Replies: 0
    Last Post: 10-21-2008, 08:03 AM
  2. /tmp filling
    By Nutz in forum Administrators
    Replies: 8
    Last Post: 02-22-2008, 02:00 AM
  3. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 05:43 AM
  4. Replies: 22
    Last Post: 12-02-2007, 05:05 PM
  5. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 08:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •