When using Presence plugin, do not get status of user with 'type=xml' option

Hi,

I’ve recently installed the presence plugin and was trying to get the status information of a user beyond online or available.

The user has logged in as below:

connection = new XMPPConnection(“atg-a2m-4”);
connection.connect();
connection.login(userName, “sensor”);
presence = new Presence(Presence.Type.available);
presence.setStatus(“QRC 6th floor”);

I then try to query the status of the user using curl and the presence service:

curl http://127.0.0.1:9090/plugins/presence/status?jid=rfarley@atg-a2m-4&type=xml

<presence id=“V7562-3” from “rfarley@atg-a2m-4/Smack”>

Is there something I’m missing ? I was expecting more information. Am I not following something correctly above ?

Best Regards,

Richard

Hi,

Does anybody have an answer to my question - I’m trying to get additional presence information about a user which is set via “presence.setStatus()”, but am not able to using the UserPresence plugin:

curl http://127.0.0.1:9090/plugins/presence/status?jid=rfarley@atg-a2m-4&type=xml

Thanks,

Richard