OpenFire not responding properly for PubSub message exchange

Hi

I am trying to create a XMPP Client which is going to interact with openFire server and exchange various kindds of messages.

As per XEP 0060, if a publisher publishes a group of items over a predefined node then the publisher should expect twp packets from the server. The first one should be a IQ packet of type = “result” which signifies that the advertisement has been succesfully done by the publisher and the next packet should be of type = “message” which provides publisher a notification of all that it has published.

I am running openFire 3.7.0 but I am trying to publish any thing over a node openFire responds with three packets. One of this three packtes happens to be a unwanted packet of “message” type.

Publisher publishes,

    <tune xmlns='[http://jabber.org/protocol/tune](http://jabber.org/protocol/tune)'>

Gerald Finzi

Gerald Finzi

Gets in return

Packet 1

*** ***

*** ***

*** ***

*** ***

*** ***

Packet 2

Packet 3

    <tune xmlns="[http://jabber.org/protocol/tune](http://jabber.org/protocol/tune)">

Gerald Finzi

Gerald Finzi

The packet marked in red is the one which is not expected. Can anyone please help me out here and let me know why this is happening or its a issue with openFire itself ?

Interesting, I never saw that errant packet when I was running testcases for Smack against Openfire. I will have to check this one for myself before I log an issue.

Do you have a complete list of pubsub stanzas that you sent before this happened? I am wondering if this message was generated by some other command before your publish. In either case, I can’t see in the spec where such a message would ever be published.

Hi ,

I am attaching a complete packet capture of the scenario, where the erratic behavior is seen. Since the packet capture includes a large number of message exchanges I am attaching a Doc file as well which will contain the entire pubsub handshake

Please revert back if you need some more clarification. Your input in this issue is extremely important for further development of my project.

Regards

Tanuman
cap_21.cap.zip (10165 Bytes)
OpenFire Issue.docx (15242 Bytes)