コード例 #1
0
        public string ValidateUser(string userName, string passwordHash)
        {
            ValidateUserRequest  request  = new ValidateUserRequest(userName, passwordHash);
            ValidateUserResponse response = this.ValidateUser(request);

            return(response.ValidateUserResult);
        }
コード例 #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);
        }