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 01-20-2012, 06:44 AM
New Member
 
Posts: 4
Default zcs-php - yet another PHP SOAP API library

Hi, today we have released an almost-feature-full PHP classes to interact with a Zimbra server via the SOAP API.

https://github.com/libersoft/zcs-php

Feedback and patches are welcome.

Last edited by gionn; 01-23-2012 at 12:45 PM..
Reply With Quote
  #2 (permalink)  
Old 01-20-2012, 07:30 AM
Trained Alumni
 
Posts: 336
Default

Great, I'll give a look soon, thanks!
__________________
YetOpen S.r.l. ~ Your open source partner
Lecco (LC) - ITALY
http://www.yetopen.it
Reply With Quote
  #3 (permalink)  
Old 01-20-2012, 08:02 AM
Partner (VAR/HSP)
 
Posts: 200
Default

Quote:
Originally Posted by gionn View Post
Hi, today we have released an almost-feature-full PHP classes to interact with a Zimbra server via the SOAP API.
I just gave it a try:

PHP Code:
$newAccount $zimbra->createAccount(array(
    
'name' => 'foo@bar.com',
    
'password' => 'Strong_Password',
    
'givenName' => 'John',
    
'sn' => 'Doe',
  )); 
I got:

Code:
]PHP Fatal error:  Class 'Account' not found in ZimbraAdmin.php on line 223
The account was created however... Am I some class definitions missing?

Regards
Thomas
Reply With Quote
  #4 (permalink)  
Old 01-23-2012, 12:44 PM
New Member
 
Posts: 4
Default

Quote:
Originally Posted by deepblue View Post
Code:
]PHP Fatal error:  Class 'Account' not found in ZimbraAdmin.php on line 223
The account was created however... Am I some class definitions missing?
Definitively yes, we have developed this classes for a management interface based on Symfony 1.4, which its autoloader made us forget about model classes.

I've included those missing classes, you should include them as in the updated README.txt if you aren't already using an autoloader in your project.

Let me know if you face any other problem.
Reply With Quote
  #5 (permalink)  
Old 04-04-2012, 02:45 AM
Starter Member
 
Posts: 2
Default

Hi, I was wondering if you're still working on classes/functions for managing and sharing folders/calendars?

Regards
Jordy
Reply With Quote
  #6 (permalink)  
Old 04-07-2012, 09:00 AM
New Member
 
Posts: 4
Default

Currently we aren't working on calendars interactions since we are fine with the currently available functions.

Patches and pull requests on GH are always welcome.
__________________
LiberSoft
http://libersoft.it
Reply With Quote
  #7 (permalink)  
Old 04-10-2012, 01:17 AM
Starter Member
 
Posts: 2
Default

Okay! Maybe you can help me do the following:

I am a complete beginner in the SOAP API. I have found my way in creating/managing accounts and domains, but this is just a bit too complex for me.

For a simple application I want to share folders (calendars).

I've tried a lot(GetFolderRequest, BatchRequest, etc) but I still get the following error:

SoapFault exception: [soap:Sender] unknown document: ns1:GetFolderRequest in ...

I hope you know what might cause this error.
If you want to see the code, I will post it. But I think I'm just forgetting something simple..
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.