Ejemplo n.º 1
0
        public string ValidateCustomer(string userName, string passwordHash)
        {
            ValidateCustomerRequest  request  = new ValidateCustomerRequest(userName, passwordHash);
            ValidateCustomerResponse response = this.ValidateCustomer(request);

            return(response.ValidateCustomerResult);
        }
Ejemplo n.º 2
0
        private ValidateCustomerResponse ValidateCustomer(ValidateCustomerRequest request)
        {
            CFInvokeInfo info = new CFInvokeInfo();

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

            return(retVal);
        }