sped-gnre icon indicating copy to clipboard operation
sped-gnre copied to clipboard

fix: altera versaoDados do soap

Open felipe-colussi opened this issue 2 years ago • 0 comments

Ao efetuar a consulta usando o framework se tem o seguinte retorno:

<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<soapenv:Body>
		<gnreRespostaMsg xmlns="http://www.gnre.pe.gov.br/webservice/GnreResultadoLote">
			<ns1:TResultLote_GNRE xmlns="http://www.gnre.pe.gov.br" xmlns:ns1="http://www.gnre.pe.gov.br">
				<ns1:ambiente>1</ns1:ambiente>
				<ns1:numeroRecibo>**********</ns1:numeroRecibo>
				<ns1:situacaoProcess>
					<ns1:codigo>303</ns1:codigo>
					<ns1:descricao>Vers&#xE3;o dos Dados n&#xE3;o suportada</ns1:descricao>
				</ns1:situacaoProcess>
			</ns1:TResultLote_GNRE>
		</gnreRespostaMsg>
	</soapenv:Body>
</soapenv:Envelope>

Alterando a tag de 1.00 para 2.00 o retorno passa a funcionar normalmente.

felipe-colussi avatar Mar 21 '22 13:03 felipe-colussi