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 08-07-2010, 07:05 PM
Active Member
 
Posts: 26
Default Is there any way to flush cache via SOAP request?

Hi,
We are building an interface between a login product and zimbra, when user enters the portal and before we pass the preauth token to zimbra we need to know his/her account status information, if the admin user has just blocked the user and the account status request goes to a server other than the one his/her account is hosted the server responds with the old account status, that is why we need to know how to do a zmprov fc for that domain via SOAP request for certain server.

Thanks in advance
Reply With Quote
  #2 (permalink)  
Old 08-08-2010, 06:38 AM
Project Contributor
 
Posts: 92
Default

Hi

I've never tried this myself, but I think you can do that by sending this for certain server.

Quote:
<FlushCacheRequest>
<cache type='skin|locale|account|cos|domain|server|zimlet '>
[<entry by={id|name}>value</entry>+]
</cache>
</FlushCacheRequest>

You can find sample code at flushCache method in com.zimbra.cs.account.soap.SoapProvisioning.java.
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.