public ConsultaUltNroComprobante(string urlWsfe, string RutaCertificado, long Cuit, Sesion Sesion)
		{
			sesion = Sesion;
			cuit = Cuit;
            ticket = new LoginTicket();
            ticket.ObtenerTicket(RutaCertificado, Cuit);
            objWS = new FEArn.ar.gov.afip.wsw.Service();
            objWS.Url = urlWsfe;
            objWS.Proxy = ticket.Wp;
			db = new FEAdb.db(sesion);
    	}
Esempio n. 2
0
		public Comprobante(string RutaCertificado, long Cuit, Sesion Sesion)
		{
			sesion = Sesion;
			cuit = Cuit;
            ticket = new LoginTicket();
            ticket.ObtenerTicket(RutaCertificado, Cuit);
            objWS = new FEArn.ar.gov.afip.wsw.Service();
            objWS.Url = System.Configuration.ConfigurationManager.AppSettings["FEA_ar_gov_afip_wsw_Service"];
            objWS.Proxy = ticket.Wp;
            objWSFEV1 = new FEArn.ar.gov.afip.wsfev1.Service();
            objWSFEV1.Url = System.Configuration.ConfigurationManager.AppSettings["FEA_ar_gov_afip_wsfev1_Service"];
            objWSFEV1.Proxy = ticket.Wp;
			db = new FEAdb.db(sesion);
            cantidadComprobantesXLote = 1;
		}