Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
hardboy111 #1
Member since Apr 2007 · 13 posts
Group memberships: Members
Show profile · Link to this post
Subject: pubsub jid! confused
Hi ,

I have a openfire server set up with host (ina02500001). I have code to create a node:

pubSubManager.CreateNode(jid, noderef);

But how to I get the jid of my pubsub node? Do i assume with openfire server its ' pubsub.ina02500001 ' Im confused as to how I get my pubsub jid from my server.

Thanks

Mike
Avatar
Alex #2
Member since Feb 2003 · 4328 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
yes with most servers the jid of the pubsub service is pub.yourserver.com. But it could be also anything else.
When your software should work dynamically with any server then you should discover the jid of the pubsub service over service discovery (disco)

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS