Esempio n. 1
0
 public userServices.FileType downloadZipPassiveInvoice(userServices.PasvZipQueryType zq)
 {
     userServices.FileType zip = new userServices.FileType();
     try
     {
         zip = srv.PasvDownloadZip(zq);
     }
     catch (Exception e)
     {
         Console.WriteLine("Exception:" + e);
         throw;
     }
     return(zip);
 }
Esempio n. 2
0
 public userServices.PasvZipQueryType setPasvZipQuery(userServices.AutenticazioneType auth, String idSdi)
 {
     userServices.PasvZipQueryType z = new userServices.PasvZipQueryType();
     z.Autenticazione = auth;
     if (idSdi != null)
     {
         z.IdentificativoSdI = idSdi;
         return(z);
     }
     else
     {
         throw new Exception("Nessun identificativo SdI inserito.");
     }
 }