I’m trying to get the hang of using PubSub (and XMPP in general) over BOSH. I can talk and authenticate to the server fine, but when I send a pubsub disco#items stanza (or a create node… haven’t tried anything else) it always returns the disco#info response. This is the first stanza I send after auth success and roster download.
The request stanza I’m trying to use is:
<body rid="145621" sid="58319e92" xmlns="http://jabber.org/protocol/httpbind"> <iq type="get" to="portal.cammesg01"> <query xmlns="http://jabber.org/protocol/disco#items"/> </iq> </body>
I haven’t changed any server settings (openfire 3.6.4). I was hoping for the server to return me something like:
<iq type='result' from='portal.cammesg01' to='portal@cammesg01/portal'> <query xmlns='http://jabber.org/protocol/disco#items'> <item/> </query> </iq>
because I haven't setup any nodes yet. But what I get is:
<body xmlns='http://jabber.org/protocol/httpbind'> <iq type="result" from="cammesg01" to="portal@cammesg01/PORTAL"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="server" name="Openfire Server" type="im"/><identity category="pubsub" type="pep"/><feature var="http://jabber.org/protocol/pubsub#manage-subscriptions"/> .........
and so on. Any ideas what I've missed out here? I'm trying to go by the spec and a prayer lol. I can provide more debug output if required. The ultimate goal here is to have a "System" user that creates/manages nodes through a web interface, then users subscribe to the things the system user publishes.