Receive AdHocCommandData not totally right, how to handle this?
I sent adhoc command to get user roaster using smack API, here is the returning msg in debug window.
** **
** **
** **
** **
** **
** admin@zhengkai.domain**
** **
** **
** **
however, I checked the “RAW RECEIVED PACKETS”, the packet actually received is :
admin@zhengkai.domain
you see, what I want to get, is in the part, but this part is cut off by the API?
My original xmpp messages as below:
1> request to get admin’s roaster list
2> receive the reply of server
Getting a User's RosterFill out this form to get a user’s roster.
<value>[http://jabber.org/protocol/admin](http://jabber.org/protocol/admin)</value>
3> submit the form to server
<value>[http://jabber.org/protocol/admin](http://jabber.org/protocol/admin)</value>
admin@zhengkai.domain
4>result, that’s in the begining of the question.
I currently use the method addPacketListener to listen IQ messages.
Is there a way to receive the xml directly in the api?
****Or how to get the original return of server but not the cut off one.
**
**
**
**