Exemplo n.º 1
0
        public CustomerEntity GetCustomerFromSession(string sessionId)
        {
            GetCustomerFromSessionRequest  request  = new GetCustomerFromSessionRequest(sessionId);
            GetCustomerFromSessionResponse response = this.GetCustomerFromSession(request);

            return(response.GetCustomerFromSessionResult);
        }
Exemplo n.º 2
0
        private GetCustomerFromSessionResponse GetCustomerFromSession(GetCustomerFromSessionRequest request)
        {
            CFInvokeInfo info = new CFInvokeInfo();

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

            return(retVal);
        }