The answer you received on the ektron dev forums was a good one. (prior discussion for anyone with the same problem: http://developer.ektron.com/forums/?v=t&t=1280)
You will need to use the Auth service, not the content service. this can be done using the following steps:
- Create a proxy object for the web service:
Run .Net tool wsdl.exe against your webservice address, e.g.
http://localhost:/Workarea/webservices/AuthService.asmx
- Compile into DLL by running “csc /t:library AuthenticationService.cs”: Add the DLL as a reference to your DLL or console app Copy the DLL to a Lib folder in your project
- Add the DLL as a reference to your DLL or console app Copy the DLL to a Lib folder in your project Right click “Add reference” and browse to your created proxy DLL. Add System.Web.Services as a reference to your DLL or console app
Call the proxy code from your app:
AuthenticationService auth = new AuthenticationService();
IAsyncResult response = auth.BeginisValidUser(username, password, etc...);
a working code example of this can be found at: http://developer.ektron.com/Templates/CodeLibraryDetail.aspx?id=1036&blogid=116
This example was adapted from the VooDoo engineering example of pulling in the content service: http://ektroneering.blogspot.com/2011/01/accessing-ektron-from-dll-or-console.html