示例#1
0
        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);
        }
示例#2
0
        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);
        }