hi I have a similar problem.
i'm trying out the feature of "XEP-0013 Flexible Offline Message Retrieval", and I wish the Server will keep the offline messages . I wrote the following codes is function "XmppCon_OnRosterEnd" of agsXMPP //Send Request of Offline Message Headers IQ offLineIQ = new IQ(IqType.get); Element el = new Element() ; el.TagName = "query"; el.SetNamespace("http://jabber.org/protocol/disco#item"); el.SetAttribute("node", "http://jabber.org/protocol/offline"); offLineIQ.Query = el; XmppCon.Send(offLineIQ); and here is the messages between client and server when login(the Client is Using agsXMPP lib I modified): ................... SEND: <iq xmlns="jabber:client" id="agsXMPP_6" type="get" to="sunxiaodong"><query xmlns="http://jabber.org/protocol/disco#info" /></iq> ............. SEND: <iq xmlns="jabber:client" type="get"><query xmlns="http://jabber.org/protocol/disco#item" node="http://jabber.org/protocol/offline" /></iq> SEND: <presence xmlns="jabber:client"><status /><priority>10</priority></presence> ................ RECV: <iq xmlns="jabber:client" from="sunxiaodong" to="[EMAIL PROTECTED]/MiniClient" type="result" id="agsXMPP_6"><query xmlns="http://jabber.org/protocol/disco#info"><identity name="Wildfire Server" category="server" type="im" /><feature var="http://jabber.org/protocol/disco#info" /><feature var="http://jabber.org/protocol/address" /><feature var="vcard-temp" /><feature var="jabber:iq:private" /><feature var="jabber:iq:register" /><feature var="jabber:iq:roster" /><feature var="jabber:iq:time" /><feature var="jabber:iq:version" /><feature var="jabber:iq:last" /><feature var="http://jabber.org/protocol/disco#items" /><feature var="http://jabber.org/protocol/offline"/><feature var="http://jabber.org/protocol/commands" /><feature var="jabber:iq:privacy" /></query></iq> .................... RECV: <iq xmlns="jabber:client" to="[EMAIL PROTECTED]/MiniClient" type="error"><query xmlns="http://jabber.org/protocol/disco#item" node="http://jabber.org/protocol/offline" /><error code="503" type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq> ................... 503 is "Service Unavailable" error, but why? I think the bold characters mean that the server support the feature, isn't it? this troubles me, help please ..... thank you very much! sunng 2007-04-13