[JDEV] Requesting a roster

Jason Anderson jason at guanosoft.org
Wed Jul 31 12:22:03 CDT 2002


Emma,

You can retrieve your roster as many times as you want.  I use 
rosterBean.refreshRoster() and it works.

Are you authenticated before calling it?  Did you tell the rosterbean 
which IQBean to use?  Did you tell the IQBean which ConnectionBean to 
use?  Can't think of anything else at the moment...

A 'send failed' message from the ConnectionBean sounds like the 
connection has ended before you tried to send your packet.

jason

emma.willis at ntlworld.com wrote:
> Please can someone tell me if it is only possible to retrieve your roster once during a session.  When I try to use jabberbeans's refreshRoster() method, or generate my own request (having already done this successfully when I logged in), I get back a 'message failed' error.
> 
> any tips appreciated.
> 
> Emma
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 
> .
> 





More information about the JDev mailing list