on 11-11-2010 5:13 PM
Olá Experts, boa tarde,
Estou com uma dúvida sobre o serviço de consulta de status do serviço:
Para consulta na SEFAZ-CE, ele retorna com status 107 - Serviço em operação, porém no monitor aparece um status de erro: 80 - Status do Serviço: erro de sistema PI.
Lá na SXI_MONITOR, tem as seguintes mensagens como response da SEFAZ-CE:
INBOUND MESSAGE:
<?xml version="1.0" ?>
- <S:Envelope xmlns:S="http://www.w3.org/2003/05/soap-envelope">
- <S:Header>
- <nfeCabecMsg xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NfeStatusServico2">
<cUF>23</cUF>
<versaoDados>2.00</versaoDados>
</nfeCabecMsg>
</S:Header>
- <S:Body>
- <nfeStatusServicoNF2Result xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NfeStatusServico2">
- <retConsStatServ:retConsStatServ xmlns:retConsStatServ="http://www.portalfiscal.inf.br/nfe" xmlns="http://www.portalfiscal.inf.br/nfe" versao="2.00">
<tpAmb>1</tpAmb>
<verAplic>CE_NFe2.00.1.00.02</verAplic>
<cStat>107</cStat>
<xMotivo>Servico em Operacao</xMotivo>
<cUF>23</cUF>
<dhRecbto>2010-11-11T13:24:54</dhRecbto>
<tMed>1</tMed>
<dhRetorno>2010-11-11T13:25:03</dhRetorno>
</retConsStatServ:retConsStatServ>
</nfeStatusServicoNF2Result>
</S:Body>
</S:Envelope>
REQUEST MESSAGE MAPPING:
<?xml version="1.0" encoding="UTF-8" ?>
- <nfeStatusServicoNFResponse2 xmlns="http://sap.com/xi/NFE/006">
- <nfeStatusServicoNF2Result>
- <retConsStatServ:retConsStatServ xmlns:retConsStatServ="http://www.portalfiscal.inf.br/nfe" versao="2.00">
<tpAmb xmlns="http://www.portalfiscal.inf.br/nfe">1</tpAmb>
<verAplic xmlns="http://www.portalfiscal.inf.br/nfe">CE_NFe2.00.1.00.02</verAplic>
<cStat xmlns="http://www.portalfiscal.inf.br/nfe">107</cStat>
<xMotivo xmlns="http://www.portalfiscal.inf.br/nfe">Servico em Operacao</xMotivo>
<cUF xmlns="http://www.portalfiscal.inf.br/nfe">23</cUF>
<dhRecbto xmlns="http://www.portalfiscal.inf.br/nfe">2010-11-11T13:24:54</dhRecbto>
<tMed xmlns="http://www.portalfiscal.inf.br/nfe">1</tMed>
<dhRetorno xmlns="http://www.portalfiscal.inf.br/nfe">2010-11-11T13:25:03</dhRetorno>
</retConsStatServ:retConsStatServ>
</nfeStatusServicoNF2Result>
</nfeStatusServicoNFResponse2>
Já vi a thread [XML2.0 - Consulta status serviço - SEFAZ-GO|;, mas não se trata do mesmo erro.
Vendo as respostas da thread [XML2.0 - Consulta status serviço - SEFAZ-GO|;, fica claro que pode ser o mesmo erro sim (campo dhRetorno).
Percebi que após o Mapping, ele adiciona um Namespace em cada TAG, o que não ocorre com todos os demais estados.
Farei alguns testes para validar se o problema é apenas o campo dhRetorno.
Alguém já viu este erro?
Abraços.
Bom dia Pedro,
SAP Note 1527893 (Adjust Service Status Check - Field dhRetorno).
Veja thread
Atenciosamente, Fernando Da Ró
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Pedro,
me parece ser o mesmo erro sim. O fato de ter os namespaces explicitados nao deveria causar erro, desde que os mesmos estejam corretos. Veja a nota 1527893.
Só uma outra coisa: verifique a msg pós mapping de retorno para o GRC (i.e. verifique a msg que chega de volta pro GRC, após o mapping do PI, pra ver se os namespaces repetidos ainda estao lá).
Abs,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
15 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.