Results 1 to 4 of 4

Thread: SOAP vs zmprov

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Location
    Stockholm, Sweden
    Posts
    96
    Rep Power
    6

    Question SOAP vs zmprov

    Why is the Zimbra SOAP interface so limited in comparison to what I can accomplish with zmprov? Fetching account information via a SOAP request gives me near to nothing while zmprov ga foo@domain.com gives me "everything" .. this "sort of" limits the usefulness of the SOAP interface to put it mildly.


    -joho

  2. #2
    Join Date
    Oct 2009
    Location
    Tokyo
    Posts
    113
    Rep Power
    6

    Default

    From my understanding, zmprov just sends SOAP requests to Zimbra server in the back end.
    So basically you can do everything that you can do via zmprov by SOAP interface.

    About the case "zmprov ga" you mentioned, it looks that zmprov sends SOAP "GetAccountRequest" as Admin user. So I guess you can get what you want by that.
    If you can't, let us know what fields you want get and how you did try.
    So maybe we could help you there

  3. #3
    Join Date
    Dec 2006
    Location
    Minneapolis MN
    Posts
    777
    Rep Power
    9

    Default

    I have a script which gathers information from Zimbra using SOAP (GetAccountRequest method), and it gets everything that zmprov shows.

    Are you authenticating as an admin user? Are you using the "applyCos" attribute when sending the request?

  4. #4
    Join Date
    Jan 2009
    Location
    Stockholm, Sweden
    Posts
    96
    Rep Power
    6

    Default

    mea culpa, thanks for responding though. I did indeed get the information I should have been getting

Similar Threads

  1. users logon with 2 passwords
    By vmcastro in forum Administrators
    Replies: 2
    Last Post: 01-11-2010, 09:08 AM
  2. Can recives but can't send mail outgoing
    By hoangkk in forum Installation
    Replies: 9
    Last Post: 09-21-2009, 07:35 PM
  3. Replies: 35
    Last Post: 07-17-2009, 03:52 PM
  4. zmzimletctl deploy zimbra_posixaccount.zip - ERROR -
    By todd_dsm in forum Administrators
    Replies: 0
    Last Post: 04-02-2009, 01:41 PM
  5. Moving to different server
    By AaronW1000 in forum Installation
    Replies: 2
    Last Post: 07-03-2008, 07:39 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
  •