コード例 #1
0
        public string SendBilancio()
        {
            //effettuo la prima validazione
            if (_rendiconto.IsRegionale)
            {
                CheckRegione(_rendiconto);
            }
            else
            {
                CheckRegioneProvincia(_rendiconto);
            }
            //effettuo la trasformazione con i proxy
            FenealgestServices.DTORendiconto r = TransformToProxyCompatibleData();


            FenealgestServices.Credenziali c = new FenealgestServices.Credenziali();
            c.UserName = _userName;
            c.Password = _password;
            c.Province = _place;

            FenealgestServices.FenealgestwebServices service = new FenealgestServices.FenealgestwebServices();

            service.CredenzialiValue = c;

            string result = "";

            if (_forRlst)
            {
                result = service.ImportRendicontoRlstNew(r);
            }
            else
            {
                result = service.ImportRendicontoNew(r);
            }


            return(result);
        }
コード例 #2
0
 public AsyncNotifier()
 {
     svc = new FenealgestServices.FenealgestwebServices();
     svc.TraceUsageCompleted += new FenealgestServices.TraceUsageCompletedEventHandler(svc_TraceUsageCompleted);
 }