...
No Format |
---|
<?xml version="1.0"?> <methodCall> <methodName>presenceServer.setPresenceStatus</methodName> <params> <param> <value> <string>mirceac</string> </value> </param> <param> <value> <string>I am taking a walk now<<string>Here</string> </value> </param> </params> </methodCall> |
It returns as response something like:
No Format |
---|
<methodResponse xmlns:ex="http://ws.apache.org/xmlrpc/namespaces/extensions">
<params>
<param>
<value>
<struct>
<member>
<name>status-code</name>
<value>ok</value>
</member>
</struct>
</value>
</param>
</params>
</methodResponse>
|
- public Map getPresenceStatus(String id)
XML to send:
No Format |
---|
<?xml version="1.0"?> <methodCall> <methodName>presenceServer.getPresenceStatus</methodName> <params> <param> <value> <string>mirceac</string> </value> </param> </params> </methodCall> |
It returns as response something like:
No Format |
---|
<?xml version="1.0" encoding="UTF-8"?> <methodResponse xmlns:ex="http://ws.apache.org/xmlrpc/namespaces/extensions"> <params> <param> <value> <struct> <member> <name>custom-presence-message</name> <value>Here</value> </member> <member> <name>status-code</name> <value>ok</value> </member> </struct> </value> </param> </params> </methodResponse> |
...