Hi, I am referring to the XEP 0013 specification. The spec mentions the following
User Requests Information About Offline Message Node <iq type='get'> <query xmlns='http://jabber.org/protocol/disco#info' node='http://jabber.org/protocol/offline'/> </iq> Server Returns Information About Offline Message Node, Including Number of Messages <iq type='result' to='[EMAIL PROTECTED]/orchard'> <query xmlns='http://jabber.org/protocol/disco#info' node='http://jabber.org/protocol/offline'> <identity category='automation' type='message-list'/> <feature var='http://jabber.org/protocol/offline'/> <x xmlns='jabber:x:data' type='result'> <field var='FORM_TYPE' type='hidden'> <value>http://jabber.org/protocol/offline</value> </field> <field var='number_of_messages'> <value>66</value> </field> </x> </query> </iq> Now that was what I found in the XEP 13 spec. When I use Jabberd 2 and Ethereal for sniffing packets sent and received from the server, I find the following conversation occuring between my client and the server. Client sends:- <iq id="Pn38u-4" to="jabber-server" type="get"><query xmlns="http://jabber.org/protocol/disco#info" node="http://jabber.org/protocol/offline"></query></iq> Server sends:- <iq xmlns='jabber:client' id='Pn38u-4' from='jabber-server' to='[EMAIL PROTECTED]/Smack' type='result'><query xmlns='http://jabber.org/protocol/disco#info' node='http://jabber.org/protocol/offline'><identity name='Jabber IM server' type='im' category='server'/><feature var='jabber:iq:private'/><feature var='presence'/><feature var='jabber:iq:time'/><feature var='jabber:iq:agents'/><feature var='urn:xmpp:ping'/><feature var='http://jabber.org/protocol/vacation'/><feature var='urn:xmpp:time'/><feature var='urn:xmpp:blocking'/><feature var='vcard-temp'/><feature var='jabber:iq:version'/><feature var='message'/><feature var='msgoffline'/><feature var='jabber:iq:privacy'/><feature var='http://jabber.org/protocol/amp'/><feature var='jabber:iq:roster'/><feature var='iq'/><feature var='jabber:iq:last'/><feature var='http://jabber.org/protocol/disco'/><x xmlns='jabber:x:data' type='result'><field type='hidden' var='FORM_TYPE'><value>urn:xmpp:dataforms:softwareinfo</value></field><field var='software'><value>jabberd</value></field><field var='software_version'><value>2.1.23</value></field><field var='os'><value>Linux</value></field><field var='os_version'><value>i686</value></field></x></query></iq> Basically, what should be this according to the spec <field var='FORM_TYPE' type='hidden'> <value>http://jabber.org/protocol/offline</value> </field> <field var='number_of_messages'> <value>66</value> </field> is actually this when I use Jabberd 2 <field type='hidden' var='FORM_TYPE'> <value>urn:xmpp:dataforms:softwareinfo</value> </field> <field var='software'><value>jabberd</value></field> <field var='software_version'><value>2.1.23</value></field> <field var='os'><value>Linux</value></field><field var='os_version'><value>i686</value></field> Obviously the server is responding to a request I didnt make. Or is it something else I'm not getting? Please help! Thanks, Neha. -- View this message in context: http://www.nabble.com/Jabberd-2-2.1.23-not-working-according-to-XEP-13-tp16092359p16092359.html Sent from the Jabber JDEV mailing list archive at Nabble.com.