Results 1 to 5 of 5

Thread: SOAP api usage in JAVA

  1. #1
    parin is offline Active Member
    Join Date
    Feb 2013
    Location
    India
    Posts
    28
    Rep Power
    2

    Default SOAP api usage in JAVA

    Hi, all..
    I am newbee to Zimbra and just finished the installation of zimbra open source server.. Now i want to make a simple zimbra application in java which the application authenticates user and displays inbox... I know there are two options available to make requests

    1. REST API
    2. SOAP API

    i have already worked on rest api for authentication and its working good. but it lacks some advance features like retriving account info rather than inbox ! so now i am planning to use soap for that.. i am searching on this forum for good starting example for how to use SOAP api in JAVA.. but could not find any.. although the soap api docs is there, but it only shows the message format for request and response... also i think there is a jar file for soap available in lib directory of zimbra.. so i am confused what to do?

    1. whether to use raw soap requests and response
    2. import jar and use it

    if jar should be used, then which one? there are alternatives jars like,

    1.zimbracommon
    2.zimbrastroe
    3.zimbrasoap


    Also there is no documentation provided for these jars.. so it would be helpful if documentation like javadoc is there for these jars.

    hoping for the reply.
    Thank you.

  2. #2
    tdesorbaix is offline Zimlet Guru & Moderator
    Join Date
    Apr 2007
    Location
    Paris, France
    Posts
    365
    Rep Power
    8

    Default

    If you are using ZCS 7.x.x, you should download zimbra source code and look at :
    ZimbraServer/src/java/com/zimbra/cs/zclient

    It is a part of zimbrastore.jar.

  3. #3
    parin is offline Active Member
    Join Date
    Feb 2013
    Location
    India
    Posts
    28
    Rep Power
    2

    Default

    thank you sir for your reply... from where can i find a zimbra source code? do you mean /opt/zimbra/docs folder?
    also there is no javadoc like documentation provided for those jars. so finally i wrote raw soap messeges for my program.. i know there are classes to interect with server, but dont know the exect classes,their methods and their usage !

  4. #4
    tdesorbaix is offline Zimlet Guru & Moderator
    Join Date
    Apr 2007
    Location
    Paris, France
    Posts
    365
    Rep Power
    8

    Default

    No. I mean zimbra's source code :
    https://wiki.zimbra.com/wiki/Buildin...using_Perforce
    And there is a "javadoc" ant task in the package ZimbraServer .

  5. #5
    parin is offline Active Member
    Join Date
    Feb 2013
    Location
    India
    Posts
    28
    Rep Power
    2

    Default

    oh.. ok sir thnx for your reply

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. High Java CPU usage question
    By mek1 in forum Administrators
    Replies: 36
    Last Post: 01-14-2014, 03:40 AM
  2. Replies: 4
    Last Post: 01-24-2012, 10:33 PM
  3. SOAP with JAVA
    By mauretto79 in forum Developers
    Replies: 1
    Last Post: 06-13-2008, 09:06 PM
  4. [SOLVED] Java with SOAP
    By tsx in forum Developers
    Replies: 4
    Last Post: 05-05-2008, 08:30 PM
  5. [SOLVED] SOAP API from Java
    By liriarte in forum Developers
    Replies: 8
    Last Post: 09-14-2007, 04:24 PM

Tags for this Thread

Posting Permissions

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