如何发送信息查询包到XMPP服务器,换句话说,如何向服务器发送"..."以查询一些信息?
<iq type='set' id='123'>
<push xmlns='p1:push'>
<keepalive max="30"/>
<session duration="60"/>
<body send="all" groupchat="true" from="jid"/>
<status type="xa">Text Message when in push mode</status>
<offline>false</offline>
<notification>
<type>applepush</type>
<id>DeviceToken</id>
</notification>
<appid>application1</appid>
</push>
</iq>