Asked by:
OCS server with java

Question
-
Hi All,
We are using OCS server 2007 in our java application for Chat and presence.
For the OCS server we have downloaded a Javascript(AJAX) client .But in the server enabling of AJAX is not happening.The status of AJAX is showing not loaded/Unknown.
Can anyone help me in this regard.
Thanks in advance
PunPunMonday, October 6, 2008 6:31 AM
All replies
-
I am guessing you haven't deployed the communicator web access server yet ?
From the OCS 2007 AJAX SDK document:
- Unified Communications AJAX API is an application programming interface to Communicator Web Access. The API is composed of methods and events. A client sends a method as a request to a Communicator Web Access server and the client receives data as events from the server. Requests and events are specified as an XML element. The communication is conducted primarily as HTTP POST requests with HTTP GET requests in individual scenarios. Unlike applications designed as Web Services, Communicator Web Access Server will not parse SOAP messages, nor does it provide a WSDL document for consumption by client application development tools. There are two advantages to this approach. Most importantly, it avoids the overhead created when JavaScript code must generate or parse larger SOAP documents. Secondarily, a general knowledge of XML rather than specific knowledge of SOAP messages is sufficient to be successful with the Unified Communications AJAX SDK.
- Unified Communications JavaScript Libraries based on the AJAX service. These are JavaScript classes that encapsulate the commonly used functionality required of a Unified Communications JavaScript Libraries Client. The common functionality includes creating and maintaining the communication channels, signing in to a server, embedding the display of a user presence in a Web page, starting an IM conversation, and so on. Using the libraries, an application developer can create a Unified Communications JavaScript Libraries Client by simply instantiating the libraries, setting appropriate properties, and invoking the desired methods.
The Communicator Web Access Server provides access to Unified Communications functionality.
Hope this helps..
Sincerely,
Tonino Bruno
Belgian Exchange & OCS User Community
Monday, October 6, 2008 1:54 PM -
Hi Tonino,
Thanks for ur help.
Do u have any document to configure CWA for form based authentication or IWA.
Thanks in advance
PunPun
Tuesday, October 7, 2008 6:43 AM -
Hi,
I think this website will get you on your way: http://www.ocspedia.com/CWA/Deploy_CWA.htm
The most important thing is to get your certificates right. For more information on this check here: http://technet.microsoft.com/en-us/library/bb663572.aspx
Forms Based Authentication is available within CWA by default. You can use different authentication by accessing these different url's:
- Forms-based authentication: https://myserver.contoso.com/forms/signin.html
- Windows authentication: https://myserver.contoso.com/iwa/signin.html
- Single sign-on: https://myserver.contoso.com/sso/signin.html
http://technet.microsoft.com/en-us/library/bb663584.aspx
Good luck..
Tonino Bruno
Tuesday, October 7, 2008 12:06 PM - Forms-based authentication: https://myserver.contoso.com/forms/signin.html