public override void ConsultarSituacaoLoteRps(string file) { ConsultarSituacaoLoteRpsEnvio consultarsituacaoloterps = ReadXML <ConsultarSituacaoLoteRpsEnvio>(file); ConsultarSituacaoLoteRpsResposta result = service.ConsultarSituacaoLoteRps(consultarsituacaoloterps); GerarRetorno(file, base.CreateXML(result), Propriedade.ExtEnvio.PedLoteRps, Propriedade.ExtRetorno.RetLoteRps); }
public override void ConsultarSituacaoLoteRps(string file) { ConsultarSituacaoLoteRpsEnvio envio = DeserializarObjeto <ConsultarSituacaoLoteRpsEnvio>(file); string strResult = SerializarObjeto(Service.ConsultarSituacaoLoteRps(envio, DadosConexao)); GerarRetorno(file, strResult, Propriedade.Extensao(Propriedade.TipoEnvio.PedSitLoteRps).EnvioXML, Propriedade.Extensao(Propriedade.TipoEnvio.PedSitLoteRps).RetornoXML); }
public override void ConsultarSituacaoLoteRps(string file) { object erros = new object[1]; ConsultarSituacaoLoteRpsEnvio oTcDadosConsultaNota = ReadXML <ConsultarSituacaoLoteRpsEnvio>(file); ConsultarSituacaoLoteRpsResposta result = service.ConsultarSituacaoLoteRps(oTcDadosConsultaNota, dadosConexao); string strResult = base.CreateXML(result, erros); GerarRetorno(file, strResult, Propriedade.ExtEnvio.PedLoteRps, Propriedade.ExtRetorno.RetLoteRps); }
public override void ConsultarSituacaoLoteRps(string file) { ConsultarSituacaoLoteRps Service = new ConsultarSituacaoLoteRps(); Service.ClientCertificates.Add(Certificado); DefinirProxy <ConsultarSituacaoLoteRps>(Service); ConsultarSituacaoLoteRpsEnvio envio = DeserializarObjeto <ConsultarSituacaoLoteRpsEnvio>(file); string strResult = SerializarObjeto(Service.CallConsultarSituacaoLoteRps(envio)); GerarRetorno(file, strResult, Propriedade.Extensao(Propriedade.TipoEnvio.PedSitLoteRps).EnvioXML, Propriedade.Extensao(Propriedade.TipoEnvio.PedSitLoteRps).RetornoXML); }
public override void ConsultarSituacaoLoteRps(string file) { ServiceConsultarSituacaoLoteRps.Proxy = WebRequest.DefaultWebProxy; ServiceConsultarSituacaoLoteRps.Proxy.Credentials = new NetworkCredential(ProxyUser, ProxyPass); ServiceConsultarSituacaoLoteRps.Credentials = new NetworkCredential(ProxyUser, ProxyPass); ConsultarSituacaoLoteRpsEnvio oTcDadosConsultaLote = ReadXML <ConsultarSituacaoLoteRpsEnvio>(file); NFe.Components.br.com.fisslex.demo.aws_consultarsituacaoloterps.h.ConsultarSituacaoLoteRpsResposta result = null; result = ServiceConsultarSituacaoLoteRps.Execute(oTcDadosConsultaLote); string strResult = base.CreateXML(result); GerarRetorno(file, strResult, Propriedade.ExtEnvio.PedSitLoteRps, Propriedade.ExtRetorno.SitLoteRps); }
public override void ConsultarSituacaoLoteRps(string file) { #region Definições de proxy if (!String.IsNullOrEmpty(ProxyUser)) { ServiceConsultarSituacaoLoteRps.Proxy = WebRequest.DefaultWebProxy; ServiceConsultarSituacaoLoteRps.Proxy.Credentials = new NetworkCredential(ProxyUser, ProxyPass); ServiceConsultarSituacaoLoteRps.Credentials = new NetworkCredential(ProxyUser, ProxyPass); } #endregion Definições de proxy ConsultarSituacaoLoteRpsEnvio envio = DeserializarObjeto <ConsultarSituacaoLoteRpsEnvio>(file); string strResult = SerializarObjeto(ServiceConsultarSituacaoLoteRps.Execute(envio)); GerarRetorno(file, strResult, Propriedade.Extensao(Propriedade.TipoEnvio.PedSitLoteRps).EnvioXML, Propriedade.Extensao(Propriedade.TipoEnvio.PedSitLoteRps).RetornoXML); }
public override void ConsultarSituacaoLoteRps(string file) { #region Definições de proxy if (!String.IsNullOrEmpty(ProxyUser)) { ServiceConsultarSituacaoLoteRps.Proxy = WebRequest.DefaultWebProxy; ServiceConsultarSituacaoLoteRps.Proxy.Credentials = new NetworkCredential(ProxyUser, ProxyPass); ServiceConsultarSituacaoLoteRps.Credentials = new NetworkCredential(ProxyUser, ProxyPass); } #endregion ConsultarSituacaoLoteRpsEnvio oTcDadosConsultaLote = ReadXML <ConsultarSituacaoLoteRpsEnvio>(file); NFe.Components.br.com.fisslex.demo.aws_consultarsituacaoloterps.h.ConsultarSituacaoLoteRpsResposta result = null; result = ServiceConsultarSituacaoLoteRps.Execute(oTcDadosConsultaLote); string strResult = base.CreateXML(result); GerarRetorno(file, strResult, Propriedade.Extensao(Propriedade.TipoEnvio.PedSitLoteRps).EnvioXML, Propriedade.Extensao(Propriedade.TipoEnvio.PedSitLoteRps).RetornoXML); }