/// <remarks/> public void FEXGetPARAM_DST_CUITAsync(ClsFEXAuthRequest Auth) { this.FEXGetPARAM_DST_CUITAsync(Auth, null); }
public FEXResponse_Mon FEXGetPARAM_MON(ClsFEXAuthRequest Auth) { object[] results = this.Invoke("FEXGetPARAM_MON", new object[] { Auth}); return ((FEXResponse_Mon)(results[0])); }
/// <remarks/> public void FEXCheck_PermisoAsync(ClsFEXAuthRequest Auth, string ID_Permiso, int Dst_merc) { this.FEXCheck_PermisoAsync(Auth, ID_Permiso, Dst_merc, null); }
public FEXResponseAuthorize FEXAuthorize(ClsFEXAuthRequest Auth, ClsFEXRequest Cmp) { object[] results = this.Invoke("FEXAuthorize", new object[] { Auth, Cmp}); return ((FEXResponseAuthorize)(results[0])); }
public FEXResponse_PtoVenta FEXGetPARAM_PtoVenta(ClsFEXAuthRequest Auth) { object[] results = this.Invoke("FEXGetPARAM_PtoVenta", new object[] { Auth}); return ((FEXResponse_PtoVenta)(results[0])); }
/// <remarks/> public void FEXGetPARAM_PtoVentaAsync(ClsFEXAuthRequest Auth, object userState) { if ((this.FEXGetPARAM_PtoVentaOperationCompleted == null)) { this.FEXGetPARAM_PtoVentaOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFEXGetPARAM_PtoVentaOperationCompleted); } this.InvokeAsync("FEXGetPARAM_PtoVenta", new object[] { Auth}, this.FEXGetPARAM_PtoVentaOperationCompleted, userState); }
/// <remarks/> public void FEXGetPARAM_Tipo_ExpoAsync(ClsFEXAuthRequest Auth) { this.FEXGetPARAM_Tipo_ExpoAsync(Auth, null); }
public FEXResponse_LastID FEXGetLast_ID(ClsFEXAuthRequest Auth) { object[] results = this.Invoke("FEXGetLast_ID", new object[] { Auth}); return ((FEXResponse_LastID)(results[0])); }
/// <remarks/> public void FEXGetCMPAsync(ClsFEXAuthRequest Auth, ClsFEXGetCMP Cmp, object userState) { if ((this.FEXGetCMPOperationCompleted == null)) { this.FEXGetCMPOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFEXGetCMPOperationCompleted); } this.InvokeAsync("FEXGetCMP", new object[] { Auth, Cmp}, this.FEXGetCMPOperationCompleted, userState); }
public FEXResponse_Tex FEXGetPARAM_Tipo_Expo(ClsFEXAuthRequest Auth) { object[] results = this.Invoke("FEXGetPARAM_Tipo_Expo", new object[] { Auth}); return ((FEXResponse_Tex)(results[0])); }
/// <remarks/> public void FEXGetCMPAsync(ClsFEXAuthRequest Auth, ClsFEXGetCMP Cmp) { this.FEXGetCMPAsync(Auth, Cmp, null); }
public FEXGetCMPResponse FEXGetCMP(ClsFEXAuthRequest Auth, ClsFEXGetCMP Cmp) { object[] results = this.Invoke("FEXGetCMP", new object[] { Auth, Cmp}); return ((FEXGetCMPResponse)(results[0])); }
/// <remarks/> public void FEXAuthorizeAsync(ClsFEXAuthRequest Auth, ClsFEXRequest Cmp) { this.FEXAuthorizeAsync(Auth, Cmp, null); }
public FEXResponse_Ctz FEXGetPARAM_Ctz(ClsFEXAuthRequest Auth, string Mon_id) { object[] results = this.Invoke("FEXGetPARAM_Ctz", new object[] { Auth, Mon_id}); return ((FEXResponse_Ctz)(results[0])); }
/// <remarks/> public void FEXGetPARAM_IncotermsAsync(ClsFEXAuthRequest Auth) { this.FEXGetPARAM_IncotermsAsync(Auth, null); }
/// <remarks/> public void FEXGetPARAM_CtzAsync(ClsFEXAuthRequest Auth, string Mon_id) { this.FEXGetPARAM_CtzAsync(Auth, Mon_id, null); }
public FEXResponse_Idi FEXGetPARAM_Idiomas(ClsFEXAuthRequest Auth) { object[] results = this.Invoke("FEXGetPARAM_Idiomas", new object[] { Auth}); return ((FEXResponse_Idi)(results[0])); }
/// <remarks/> public void FEXGetLast_IDAsync(ClsFEXAuthRequest Auth) { this.FEXGetLast_IDAsync(Auth, null); }
public FEXResponse_Umed FEXGetPARAM_UMed(ClsFEXAuthRequest Auth) { object[] results = this.Invoke("FEXGetPARAM_UMed", new object[] { Auth}); return ((FEXResponse_Umed)(results[0])); }
/// <remarks/> public void FEXGetPARAM_PtoVentaAsync(ClsFEXAuthRequest Auth) { this.FEXGetPARAM_PtoVentaAsync(Auth, null); }
/// <remarks/> public void FEXGetPARAM_UMedAsync(ClsFEXAuthRequest Auth) { this.FEXGetPARAM_UMedAsync(Auth, null); }
public FEXResponse_CheckPermiso FEXCheck_Permiso(ClsFEXAuthRequest Auth, string ID_Permiso, int Dst_merc) { object[] results = this.Invoke("FEXCheck_Permiso", new object[] { Auth, ID_Permiso, Dst_merc}); return ((FEXResponse_CheckPermiso)(results[0])); }
public FEXResponse_DST_cuit FEXGetPARAM_DST_CUIT(ClsFEXAuthRequest Auth) { object[] results = this.Invoke("FEXGetPARAM_DST_CUIT", new object[] { Auth}); return ((FEXResponse_DST_cuit)(results[0])); }
/// <remarks/> public void FEXCheck_PermisoAsync(ClsFEXAuthRequest Auth, string ID_Permiso, int Dst_merc, object userState) { if ((this.FEXCheck_PermisoOperationCompleted == null)) { this.FEXCheck_PermisoOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFEXCheck_PermisoOperationCompleted); } this.InvokeAsync("FEXCheck_Permiso", new object[] { Auth, ID_Permiso, Dst_merc}, this.FEXCheck_PermisoOperationCompleted, userState); }
public void ObtenerTicket(string RutaCertificado, long Cuit, string Servicio) { LoginTicket objTicketRespuesta; string strTicketRespuesta; try { //Crear WebProxy System.Net.WebProxy wp = null; //if (!System.Configuration.ConfigurationManager.AppSettings["Proxy"].ToUpper().Equals("NO")) //{ // wp = new System.Net.WebProxy(System.Configuration.ConfigurationManager.AppSettings["Proxy"], false); // string usuarioProxy = System.Configuration.ConfigurationManager.AppSettings["UsuarioProxy"]; // string claveProxy = System.Configuration.ConfigurationManager.AppSettings["ClaveProxy"]; // string dominioProxy = System.Configuration.ConfigurationManager.AppSettings["DominioProxy"]; // System.Net.NetworkCredential networkCredential = new System.Net.NetworkCredential(usuarioProxy, claveProxy, dominioProxy); // wp.Credentials = networkCredential; // //System.Net.CredentialCache credentialCache = new System.Net.CredentialCache(); // //string wsaaurl = System.Configuration.ConfigurationManager.AppSettings["ar_gov_afip_wsaa_LoginCMSService"]; // //credentialCache.Add(new Uri(wsaaurl), "NTLM", networkCredential); // //string wsfeurl = System.Configuration.ConfigurationManager.AppSettings["ar_gov_afip_wsw_Service"]; // //credentialCache.Add(new Uri(wsfeurl), "NTLM", networkCredential); // //wp.Credentials = credentialCache; //} //URL Login string urlWsaa = System.Configuration.ConfigurationManager.AppSettings["ar_gov_afip_wsaa_LoginCMSService"]; //Obtener Ticket string servicio = DEFAULT_SERVICIO; if (Servicio != "") { servicio = Servicio; } strTicketRespuesta = ObtenerLoginTicketResponse(servicio, urlWsaa, RutaCertificado, false, Wp); objAutorizacion = new ar.gov.afip.wsw.FEAuthRequest(); objAutorizacion.Token = Token; objAutorizacion.Sign = Sign; objAutorizacion.cuit = Cuit; objAutorizacionfev1 = new ar.gov.afip.wsfev1.FEAuthRequest(); objAutorizacionfev1.Token = Token; objAutorizacionfev1.Sign = Sign; objAutorizacionfev1.Cuit = Cuit; objAutorizacionfexv1 = new ar.gov.afip.wsfexv1.ClsFEXAuthRequest(); objAutorizacionfexv1.Token = Token; objAutorizacionfexv1.Sign = Sign; objAutorizacionfexv1.Cuit = Cuit; } catch (Exception ex) { throw new Exception(ex.Message); } }