android - XMPP connection closes on sending IQ Smack 4.1 -


i developing android application using smack 4.1

when send iq packet server, connection server(openfire) gets closed.

here packet sending server. <iq id='pk1' type='get'><list xmlns='urn:xmpp:archive' with='ahmed@domain'<set xmlns='http://jabber.org/protocol/rsm'><max>10</max></set></list></iq>

i have tested both sendstanza(stanza); , sendiqwithresponsecallback(iq, stanzalistener, exceptioncallback, timeout);

this trying achieve xmppframework-retrieve-archived-messages-from-openfire-server

thanks in advance.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -