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); }
public AsyncNotifier() { svc = new FenealgestServices.FenealgestwebServices(); svc.TraceUsageCompleted += new FenealgestServices.TraceUsageCompletedEventHandler(svc_TraceUsageCompleted); }