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
  #21 (permalink)  
Old 06-20-2007, 09:16 AM
Zimlet Guru & Moderator
 
Posts: 467
Default

Quote:
Originally Posted by fstakem View Post
Has anyone done a SOAP project in java and written something about how to go about this? I have gone through the file Tester.java trying to understand the interface. I was not able to find any jars in the ZimbraServer directory to link to. Where are the jars that are needed to compile a project? I tried including the source but ran out of memory on the heap when doing a compile.
Check out ZimbraStore.jar in ZimbraServer, and the associated jars in ZimbraCommon.
Reply With Quote
  #22 (permalink)  
Old 06-20-2007, 10:01 AM
New Member
 
Posts: 3
Default

There is no file ZimbraStore.jar in the zimbraserver directory. I downloaded the source and there is only one jar in the zimbra server directory.
Reply With Quote
  #23 (permalink)  
Old 06-20-2007, 10:04 AM
Zimbra Employee
 
Posts: 1,434
Default You have to build it

I gather that you need to build it. Go into the ZimbraServer directory and do an
Code:
ant jar
The generated jarfiles should be under ZimbraServer/build.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #24 (permalink)  
Old 06-24-2007, 10:43 PM
Starter Member
 
Posts: 2
Default

can you give me a download link to ZimbraStore.jar instead?
Reply With Quote
  #25 (permalink)  
Old 06-25-2007, 06:48 AM
Zimlet Guru & Moderator
 
Posts: 467
Default

Quote:
Originally Posted by AddGun View Post
can you give me a download link to ZimbraStore.jar instead?
You are going to need to build your project anyways if you are writing code against it. The ZimbraStore.jar is in the production releases of Zimbra (you can cp it from your actual server version), but if you are having problems getting that to compile, you are going to have problems using the code.
Reply With Quote
  #26 (permalink)  
Old 06-25-2007, 07:13 AM
New Member
 
Posts: 3
Default

Well you are making the assumption that everyone uses linux for development so they can simply set up a box and run the install. We are using Linux on the servers, but do development in Windows. Since most of the people who will be working on this with us will be running windows I don't think that is unreasonable.

The ant script is quite large. I went through parts of it but hesitated from making modifications. We need to get the jars to build java apps for any platform. This includes mobile platforms. Can the Java SOAP interface be run on CLDC devices?
Reply With Quote
  #27 (permalink)  
Old 06-29-2007, 09:01 AM
Zimbra Employee
 
Posts: 1,434
Default

Quote:
Originally Posted by fstakem View Post
Well you are making the assumption that everyone uses linux for development so they can simply set up a box and run the install. We are using Linux on the servers, but do development in Windows. Since most of the people who will be working on this with us will be running windows I don't think that is unreasonable.
I develop Zimbra on Windows. ant will still run on Windows.

If that doesn't work for you, you can get a prebuilt the zimbrastore.jar file from any of the binary releases.
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #28 (permalink)  
Old 10-25-2007, 07:04 AM
Member
 
Posts: 13
Default Perl Module to simplify Soap access

I whipped together a perl module that makes it really easy to access Zimbra with soap right now it only deals with Calendar actions and appointments, but you can extend it easily with some basic Perl know how. Check out the thread I posted here:

Perl Module to simplify SOAP access to Zimbra

The module is attached to that thread, and a text file on how to use the module.
Reply With Quote
  #29 (permalink)  
Old 04-10-2008, 05:48 AM
Member
 
Posts: 11
Default Re:

Probably, the reason WSDL does not exist and does not make sense is that Zimbra HTTP requests/responses do not seem to be web-services to begin with.

A web-service will never respond with a JSON response.

Ofcourse there is a SOAP response as well now (achieved by removing the type="js" from the format element of SOAP request) - but it is not a must. And the SOAP response seems to be added as an after thought (just a guess!).

And, the original request/responses seem to be tuned towards AJAX UI - hence JSON.
Reply With Quote
  #30 (permalink)  
Old 04-10-2008, 07:34 AM
Zimbra Employee
 
Posts: 1,434
Default

Quote:
Originally Posted by jasper View Post
Ofcourse there is a SOAP response as well now (achieved by removing the type="js" from the format element of SOAP request) - but it is not a must. And the SOAP response seems to be added as an after thought (just a guess!).
Actually, we started off with vanilla XML SOAP. We later introduced a shim layer (Element.java) so that the SOAP marshalling code could generate either JSON or XML...
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
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.