Freigeben über


Communicator Web Access AJAX Service SDK Released!!

If you are looking for adding cool instant messaging and presence functionality to your web applications or simple C# applications, try out Communicator Web Access AJAX Service SDK, it already includes the sample code to get started. I will also keep posting quick code snippets here.

 

Quick Info from the SDK:

Communicator Web Access AJAX Service is the application programming interface for Microsoft Office Communicator Web Access. Application developers can use it to create Communicator-compatible clients that allow users to manage and share presence information, to manage contacts and groups, to send and receive instant messages, and to search for users within an enterprise. Such clients can be a browser-based Web application (e.g., an ASP or ASP.NET application) or a standalone network application (e.g., a .NET executable). The client applications can be written in a wide range of programming languages including JavaScript, C#, Perl, C/C++, and the Visual Basic development system. Because the Communicator Web Access AJAX Service is based on the flexible AJAX programming model, the client applications are not limited to running on Microsoft Windows operating systems and can readily be deployed to desktop, laptop, or other devices.

 

Download Link:

https://www.microsoft.com/downloads/details.aspx?familyid=A839967B-680F-41E6-99B4-F020319BBD88&displaylang=en

 

This posting is provided "AS IS" with no warranties, and confers no rights

Comments

  • Anonymous
    April 25, 2006
    Please send me process for login on ajax service

  • Anonymous
    September 15, 2006
    You can download the SDK from microsoft:
    http://www.microsoft.com/downloads/details.aspx?familyid=a839967b-680f-41e6-99b4-f020319bbd88&displaylang=en

    The process is as follows:
    1.  Submit Logon request via POST HTTP to https://yourserver/forms/logon.html
    with the following data (as an example)
    “uri=jaya@contoso.com&user=contoso\jaya&pw=<password>&signinas=0&language=en”
    1b. If you use IWA then use https://yourserver/iwa/logon.html with no body
    2.  You get a response and in the response is a cookie used as a ticket for any future requests to the server.
    3.  Set the cookie to each http communication channel (the command channel and asynchronous event channel)
    4.  Begin Communicating.

  • Anonymous
    December 20, 2006
    Hello,I want to build a c' instant messaging application using this sdk. I am not sure how should i start,which server does it use, etc. How to go about it.

  • Anonymous
    December 20, 2006
    Hello,I want to build a c# instant messaging application using this sdk. I am not sure how should i start,which server does it use, etc. How to go about it.

  • Anonymous
    May 28, 2007
    I am working on web application using C#. When I send request to server every QueryTimeout period (approx 5 second). But after some request (3 to 4 request), CWA server is going to hang and give reply after sometime. So my application is slow down and after sometime hang. can you please help me why that cwa server is going to slow after sometime?

  • Anonymous
    May 30, 2007
    When there isn't any event to deliver, the server will hold on the request for a while. Therefore, if events are available during the holding period, the server can respond right away. If your application "hangs" due to delayed response from the server, you may need to change the design to avoid synchronous waiting or move the synchronous waiting to a separate thread.

  • Anonymous
    January 06, 2008
    Actually for CWA we require Web Access Server which itself provides Oc2.0 look and feel so whats the  need of AJAX API,CAn anybody guide me in this aspect it will be much helpfull to me ,thanks in advance

  • Anonymous
    April 03, 2008
    <<<<Submit Logon request via POST HTTP to https://yourserver/forms/logon.htmlwith the following data (as an example)“uri=jaya@contoso.com&user=contoso\jaya&pw=<password>&signinas=0&language=en”1b. If you use IWA then use https://yourserver/iwa/logon.html with no body>>>Hi,Why this uri is need?If we don't pass any uri and just provide domainuser id and password then also it works.Please explain the essence of uri while login

  • Anonymous
    June 01, 2008
    The comment has been removed

  • Anonymous
    October 15, 2008
    I am trying to get the presence information from communicator server. I am able to login and log out but when i try to get presence it's giving a blank response(<xml></xml>).url i am hitting to get presence :"<OCWA Server>" + "/cwa/MainCommandHandler.ashx?Ck=" + userCookieRandomNamedata i am sending :string jsonMethod = "{"AJAXVersion":"1.0","+                               ""methods":"+                               "["+                                   "{"+                                       ""RequestId":30,"+                                       ""MethodName":"QueryPresence"," +                                       ""URI":"sip:<uri>"" +                                   "}"+                               "]"+                               "}";I am unable to figure out why it's returning blank response. Can anyone help me to get the presence?Thanks in advance.

  • Anonymous
    February 05, 2009
    The login to CWA works fine with a POST request, but when I try to do a initiateSession Request using a POST request to the cwa/MainCommandHandler.ashx uri, it gives a 500 internal server error. If I check the IIS logs also it just shows a 500 error and nothing else.Please can you suggest what is wrong in this