Exemple #1
0
        public static DataTable DominioInstancia(Guid pAppInstanceGuid, string pAuthenticationType)
        {
            System.Data.DataTable dttResult = null;
            try
            {
                using (Epiron.Bases.ServiceProxy.wsAcceso wService = new Epiron.Bases.ServiceProxy.wsAcceso())
                {
                    //if (_Proxy != null)
                    //    wService.Proxy = _Proxy;
                    //if (_Credentials != null)
                    //    wService.Credentials = _Credentials;

                    wService.Url = _AccesoConnectorURL;
                    dttResult    = wService.DominioInstancia(pAppInstanceGuid, pAuthenticationType);
                }
            }
            catch (Exception ex)
            {
                throw SetEx(ex);
            }
            return(dttResult);
        }
        public static DataTable DominioInstancia(Guid pAppInstanceGuid, string pAuthenticationType)
        {
            System.Data.DataTable dttResult = null;
            try
            {
                using (Epiron.Bases.ServiceProxy.wsAcceso wService = new Epiron.Bases.ServiceProxy.wsAcceso())
                {
                    //if (_Proxy != null)
                    //    wService.Proxy = _Proxy;
                    //if (_Credentials != null)
                    //    wService.Credentials = _Credentials;

                    wService.Url = _AccesoConnectorURL;
                    dttResult = wService.DominioInstancia(pAppInstanceGuid, pAuthenticationType);
                }
            }
            catch (Exception ex)
            {
                throw SetEx(ex);
            }
            return dttResult;
        }