Example #1
0
 public int getIdProfileByData(string numProto, string AnnoProto, string idRegistro, string idGruppo, string idPeople)
 {
     try
     {
         DepositoServicesWR.DepService wr = new DepositoServicesWR.DepService();
         return(wr.DO_getIdProfileByData(numProto, AnnoProto, idRegistro, idGruppo, idPeople));
     }
     catch (Exception ex)
     {
         throw new Exception();
     }
 }
Example #2
0
        public DepositoServiceConsumer(String webReferenceUrl)
        {
            try
            {
                //La webReferenceURL viene pescata nel web.config del WS e la si valida all'atto dell'invocazione del costruttore per chiamare i suoi metodi
                new Uri(webReferenceUrl);
                WR     = new DepositoServicesWR.DepService();
                WR.Url = webReferenceUrl;
            }
            catch (Exception e)
            {
                logger.DebugFormat("Error webReferenceURL: Message: {0}, StackTrace: {1}", e.Message, e.StackTrace);

                throw e;
            }
        }