Hello,
Using OpenFire 3.5.0, I can create a node leaf with the following request send to the publish-subscribe service :
<iq type=‘set’
from=‘admin@ls-81184/Smack’
to=‘pubsub.ls-81184’
id=‘create1’>
<pubsub xmlns='http://jabber.org/protocol/pubsub'>
<create node=‘MonNoeud’/>
<configure/>
</pubsub>
</iq>
So, with Jabber clients likes Psi or Coccinella I can browse the OpenFire’s publish-subscribe service and see the created node “MonNoeud”.
Then, I publish an item on this node with this XML request :
<iq type=‘set’
from=‘admin@ls-81184’
to=‘pubsub.ls-81184’
id=‘publish1’>
<pubsub xmlns=‘http://jabber.org/protocol/pubsub’>
<publish node=’/MonNoeud’>
<item id=‘salut’>
<test>Salut depuis Groovy !</test>
</item>
</publish>
</pubsub>
</iq>
The call succeeds, but when using Psi or Coccinella to browse the publish-subscribe service I get a strange display (see attached file) : it is as if node “MonNoeud” has “Publish-Subscribe service” as subnode, that has in turn “MonNoeud” as subnode, etc…
Is this problem comes from these Jabber clients ? Or from OpenFire ? Perhaps I must create a collection node instead of a leaf node ?
Thank you for any help.
Bertrand.