コード例 #1
0
ファイル: FwkService.cs プロジェクト: gpanayir/sffwk
        /// <summary>
        /// transport Binary
        /// </summary>
        /// <param name="providerName"></param>
        /// <param name="serviceName"></param>
        /// <param name="contract"></param>
        /// <returns></returns>
        WCFResponse IFwkService.ExecuteServiceBin( WCFRequet req)
        {

            CreateSimpleFacade();
            //IServiceContract result = simpleFacade.ExecuteService(req.ProviderName, req.BusinessData);

            WCFResponse res = new WCFResponse();
            //res.Contract = result;
            return res;
        }
コード例 #2
0
        /// <summary>
        /// transport Binary
        /// </summary>
        /// <param name="providerName"></param>
        /// <param name="serviceName"></param>
        /// <param name="contract"></param>
        /// <returns></returns>
        WCFResponse IFwkService.ExecuteServiceBin(WCFRequet req)
        {
            Console.WriteLine("Excecuting svc " + req.ServiceName + "  " + DateTime.Now.ToString());
            Console.WriteLine("--------Client IP  " + req.ContextInformation.HostIp + " Client Name" + req.ContextInformation.HostName);
            CreateSimpleFacade();
            //IServiceContract result = simpleFacade.ExecuteService(req.ProviderName, req.BusinessData);

            WCFResponse res = new WCFResponse();

            //res.Contract = result;
            return(res);
        }