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 12-15-2008, 10:52 AM
Intermediate Member
 
Posts: 22
Default [SOLVED] soap request header elements to force response header to contain notify/refr

Is there a specific set of tags in the headers of a SOAP request to the user service that will force the response to contain the refresh/notify elements?

We use the SOAP API to integrate one of our sites with Zimbra. One integration is to show users the number of unread e-mails in their INBOX on our site. We had been sending a NoOpRequest, without any special header content, to try to get the refresh/notify content and that appeared to be working fairly well until recently. We installed Zimbra Proxy and now we don't appear to be getting back the refresh/notify a lot of the time anymore.
Reply With Quote
  #2 (permalink)  
Old 12-15-2008, 03:49 PM
Project Contributor
 
Posts: 252
Default

Yes, i found this last night too.

Now you need to send the session id in order to receive a notify object back from the server if there are changes.
Reply With Quote
  #3 (permalink)  
Old 12-16-2008, 03:14 PM
Intermediate Member
 
Posts: 22
Default

Ah, interesting. We were generally sending the session id, -except- in the cases when we wanted to try to force a response to contain the notify headers.

Anyway, I wound up not relying on the headers and going with a different approach that requires a little more I/O overhead. We're sending a GetFolderRequest and parsing that to get the number of unread e-mails.
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.