Exemplo n.º 1
0
        public string ValidateUser(string userName, string passwordHash)
        {
            ValidateUserRequest  request  = new ValidateUserRequest(userName, passwordHash);
            ValidateUserResponse response = this.ValidateUser(request);

            return(response.ValidateUserResult);
        }
Exemplo n.º 2
0
        private ValidateUserResponse ValidateUser(ValidateUserRequest request)
        {
            CFInvokeInfo info = new CFInvokeInfo();

            info.Action            = "http://tempuri.org/ISessionManager/ValidateUser";
            info.RequestIsWrapped  = true;
            info.ReplyAction       = "http://tempuri.org/ISessionManager/ValidateUserResponse";
            info.ResponseIsWrapped = true;
            ValidateUserResponse retVal = base.Invoke <ValidateUserRequest, ValidateUserResponse>(info, request);

            return(retVal);
        }