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 03-19-2010, 04:22 PM
Loyal Member
 
Posts: 97
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
Reply With Quote
  #2 (permalink)  
Old 03-20-2010, 02:57 AM
Project Contributor
 
Posts: 92
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
Reply With Quote
  #3 (permalink)  
Old 03-20-2010, 01:23 PM
Outstanding Member
 
Posts: 717
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?
Reply With Quote
  #4 (permalink)  
Old 04-13-2010, 04:01 PM
Loyal Member
 
Posts: 97
Default

mea culpa, thanks for responding though. I did indeed get the information I should have been getting
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.