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 02-26-2009, 10:27 AM
rht rht is offline
Junior Member
 
Posts: 6
Default [SOLVED] How to make the web client display an incoming message.

I am integrating Zimbra Web Client with our backend server. I have enabled IM messages and I can see the roster and the UI is sending the NoOpRequest as frequently as the server can send a response back to the web client.

Problem:
Web Client is not displaying the incoming chat message.


I am sending the following back as a response to the NoOpRequest

<im>
[
// Asynchronous Roster Response
<n type="roster">
[<n type="subscribed"...>]* // see "subscribed" notification below
...
</n>
]?
[
<n type="subscribed" to="TOADDR" name="NAME" groups="GROUPS" />
]*
[
// NEW MESSAGE RECEIVED:
<n type="message" from="address" thread="chat-id" ts="TIMESTAMP" >
[<body html="false">BODY</body>]
[<typing/>]
</n>
]*
[
<n type="privacy">
<list name="name">

</list>
</n>
]
</im>]

Am I missing something from above?

Do I need to add any other tag to the notify block such as
[<deleted.../>]
[<created.../>]
[<modified.../>]

so that the Web Client opens a widget to display the incoming chat message?

thanks

rht
Reply With Quote
  #2 (permalink)  
Old 03-02-2009, 08:59 AM
rht rht is offline
Junior Member
 
Posts: 6
Default [solved]

A debug of the Web Client indicated a problem in the way <header> was constructed. There was no problem in the <im> tag.
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.