Hi,
I have a sample c# code below. I'm using LES web services.
Using AuthenticationClient service, I'm able to generate a token, and this token is passed to OTAuthentication. But unable to connect to Content server for pulling any info from CS.
AuthenticationClient auth = new AuthenticationClient();
String token = null;
token = auth.AuthenticateUser("testuser", "Password@1234"); //Authentication is success and token generated at this point
DocumentManagementClient dmc = new DocumentManagementClient();
OTAuthentication dma = new OTAuthentication();
dma.AuthenticationToken = token;
Node[] favourites = null;
Console.WriteLine("Getting user's favourites...");
favourites = docClient.GetAllFavorites(ref otAuth); //this line of code throws "The parameter is incorrect" error.
Any help on this is appreciated. Thanks in Advance.
Swathi