According to XEP-0060 7.1.2, When you try to publish an item to the publish server:
7.1.2 Success Case
If the pubsub service can successfully process the request, it MUST inform the publisher of success. If the publish request did not include an ItemID, the IQ-result SHOULD include an empty element that specifies the ItemID of the published item.
Example 100. Service replies with success
<iq type='result' from='pubsub.shakespeare.lit' firstname.lastname@example.org/blogbot' id='publish1'> <pubsub xmlns='[http://jabber.org/protocol/pubsub](http://jabber.org/protocol/pubsub)'> <publish node='princely_musings'> <item id='ae890ac52d0df67ed7cfdf51b644e901'/> </publish> </pubsub> </iq>
However when I tried to publish an item with no ItemID, I only get an IQ-Result without the pubsub element. Could somebody let me know if I did something wrong or Openfire is doing something differently from the XEP-0060?