I am using Smack, openfire, and (su-smack (with necessary changes)). I have three users one being admin, I have created a node and subscribed and published to it. I even figured out how to change affiliations, and the keyword for filtering on content. the only problem I am having is getting the subid from the server. I have sent the following IQ to the server…
I have also set up a processPacket(Packet packet) method which is just a packet listener who does a System.out.println on all of the packets.toxml it recieves.
here is what I recieved
I went inside the openfire code and printed out ( Log.warn(“This is my message”+packet.toXml) ) and in the Log it printed out what I was expecting to recieve from the server…
obviously the server has the message I am suppose to get and my request is either correct or close to being correct why am I not recieving the correct message and the server is printing out the correct message before it sends it to me?