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) { 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); }