developing office communicator using OCX Ajax SDK RRS feed

  • Question

  • Hi All,

      I am trying to develop a J2ME client which has to fetch the contacts list from the OCS server and show the presence. For this i have used the CWA url and the xml format to send the request and fetch the results. I am able to login and initiate session but not able to fetch the contact list. The details of the request and response i have used i am posting here.

    Login URL: https://<server>/forms/logon.html

    Login request:


       Session Initiate Request URL: https://<server>/cwa/AuthMainCommandHandler.ashx

    Session initiate request:

     <?xml version="1.0" encoding=\"UTF-8\"?>
     <cwaRequests sid=\"0\" xmlns=\"http://schemas.microsoft.com/2006/09/rtc/cwa\">
      <initiateSession rid=\"1\">
            <options autoPublishMachineState=\"true\"autoSubscribePresenceForContacts=\"true\"/>
             <categoryEventFilter />


    To Fetch contacts GET request is send

    Request: https://<server>/cwa/AsyncDataChannel.ashx?Sid="+sid+"&AckID=0&UA=false&TimeStamp="+System.currentTimeMillis()

    But i am not getting any response for the GET Request

    Please help me how i can fetch the contacts from java. Is there any different component to be accessed in the server for working in the mobile.

    Monday, August 2, 2010 2:49 PM

All replies