cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
107
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: Ben Sunderland on 05-12-2011 04:57:53 PM
We are beginning to look at the APIs for WebEx Social and was wondering
if you have any samples that you can provide to help get up and running,
and in particular anything that covers the authentication process which we are
struggling with. We have the PDF guide already, but nothing else.
 
Also anything you have on JSR portlet creation in regards to
WebEx Social configuration would be useful.
 
regards
 
Ben

Subject: RE: API smaples.....
Replied by: Ben Sunderland on 19-12-2011 09:03:09 PM
Reposting due to crazy formatting.


We are beginning to look at the APIs for WebEx Social and was wondering
if you have any samples that you can provide to help get up and running,
and in particular anything that covers the authentication process which we are
struggling with. We have the PDF guide already, but nothing else.

Also anything you have on JSR portlet creation in regards to
WebEx Social configuration would be useful.

regards

Ben

Subject: RE: API samples.....
Replied by: Ratnadeep Ray on 22-12-2011 12:18:27 AM
Hi Ben,

Have you tried the following code using nsAPI Java Client for invoking the login and logout functions

import com.newscale.nsapiclient.NSApiClientFactory;
import com.newscale.nsapiclient.NSApiClient;
.  .   .
NSApiClient nsApiClient = NSApiClientFactory.getInstance();
nsApiClient.login("http://<serverURL>/RequestCenter","username", "password" ); // Login by username, password.
.  .   .
.  .   .
nsApiClient.logout(); // Logout
.  .   .
NSApiClient nsApiClient = NSApiClientFactory.getInstance();
nsApiClient.login("http://<serverURL>/RequestCenter", sessionId); // Login using current session id.
.  .   .
.  .   .
nsApiClient.logout()

Does the above answer your questions?
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links