Author: kangaloosh | Posted on: 3/1/2006 5:25:34 AM | Views : 419

Hi, I have read through the forum posts and looked in the 'QuickStart' documentation but I am still stuck: How can one read the value of a System.Guid passed back to Javascript?

I have a WebService:
        [WebMethod][XmlInclude (typeof(System.Guid))]
        public Guid WebLogin(string UserID, string Password) {

Which I call, via Atlas, from JavaScript:
    function LogIn(UserID, Pwd) {
        K2.WebService.Connection.WebLogin(UserID, Pwd, LogInResult);
    }
   
    function LogInResult(result) {
    debugger
        alert (result);
    } ...



I cannot access the value of 'result' (which will be a System.Guid). We used to use the old WebService.htc - where one could access ...

Go to the complete details ...