ilayaraja Manoharan | Hi, I have a doubt in subscribing using the Presence web service API. I know that we need to do the following steps to subscribe for the presence. 1. Register a HTTP endpoint. 2. Send a subscribe request specifying the contact list, expiration time and HTTP endpoint id. 3. Whenever a change happens in the presence details of any of the contacts in the subscription, the server sends a notify message to the registered endpoint. 4. Client calls the getSubscribedPresence method to get the latest data. My dobuts are: 1. When I look into the response for the subscribe request, I don't find any other information apart from the subscription id. Then how do I get the initial presence information (i.e. the presence details at the time of subscription)? Should I have to call the GetSubscribedPresence method immediately after calling the subscribe method? or Should I have to use the getPolledPrsence to get the initial presence and then do the subscription? 2. Will the GetSubscribedPresence method return only the presence details of the contacts whose presence is changed or will it return the presence details of all the contacts associated with the presence? Similarly, will it return only updates on the presence informtion for a contact or the complete presence details of the contact? 3. Can I use more than one HTTP endpoint for a same applicaiton user? E.g. one endpoint to get the change notifications for one set of users (associated with a subscription, say S1) and another endpoint to get the change notifications for another set of users (associated with a subscription, say S2). Please help me to get these doubts clarified. Thanks in advance. Regards, Ilayaraja M |
| Please sign in to flag this as inappropriate. |