Jump to content

diadoacbr

Evento Cancelamento - Rejeicao: Falha No Esquema Xml


Fábio Boldt
  • Este tópico foi criado há 3300 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Recommended Posts

segue o xml do evento aonde poderia estar erro?
 
---------------------------
Acbrnfe_demo
---------------------------
Ambiente : 1
Versão Aplicativo : SVAN_2.1.0
Status Código : 215
Status Descrição : Rejeicao: Falha no Esquema XML
 
---------------------------
OK   
---------------------------
<envEvento xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.00">
<idLote>11</idLote>
<evento xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.00">
<infEvento Id="ID1101113213040897681800015655001000010000100010000301">
<cOrgao>91</cOrgao>
<tpAmb>1</tpAmb>
<CNPJ>08976818000156</CNPJ>
<chNFe>32130408976818000156550010000100001000100003</chNFe>
<dhEvento>2013-04-04T19:55:56-03:00</dhEvento>
<tpEvento>110111</tpEvento>
<nSeqEvento>1</nSeqEvento>
<verEvento>1.00</verEvento>
<detEvento versao="1.00">
<descEvento>Cancelamento</descEvento>
<nProt>432130010444804</nProt>
<xJust>casdsdasd ssdasdasd sasdasd dsa saasd</xJust>
</detEvento>
</infEvento>
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<Reference URI="#ID1101113213040897681800015655001000010000100010000301">
<Transforms>
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<DigestValue>U2LpQ7jhgj0R3T9UkfA/cixxk7A=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>
GnvmMVTq9+6z/SqsW5nC843ZHu+VUMEWd8ZhhkgruW9TkGA91rcyqIDW3S0ibGvc9VujqaBKhCApAygo9lw+TAdln3Uiwwii8QVfUVylEUq4B8j7UWuwuJNOjRkZYfv0aCSOckJqyhqzzlmp1cRfSbzOoK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hPDNSvn/H2SVlUdEMUd/jgnLlQv+CIJ3dlQu0NrVDpAAtFkh83AqzLTsowjne9EEyTrn6qgnF7LUASHv+k3wy6f67OiqHJssHVbMna4uQiCPN8MM28qobdzVjTCAFnIpSmjM3LyWG4KeG3euU6zmM0SMFDx+G4br+0hvCDMY3ZjKx9MxVwuuSTvce+FGZpea9qpNv6wEktdVManpQdesRsU6v1gzI7dvgpT4dEyXsKcTSX+SnCFHAriQcUnEiE7namNaU0hTfwnQIYwqPv2/3ODd5/JjYJo3ojlxTuRCxN39E27EPdEwoWtLkoullYqTSivUKp2FoqEap0WJl8BkbsJGLSTYbAfNDSPcQ7o8g45lx8iKITsbsRhogCGXB7S0h0r0ibT63g2DQovuZT8oJrr7GukpG1UKZQOUZHLGbDeV5V9xlEKovlfzz2iXSCqtGMzls9Koe+5t7cZU36Z2iBT8moHIlrYtqHHtw1mQH19YOnDEZjRXErx0tACqiURlLzIvqX1PGBPK/M=
</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</evento>
</envEvento>
Link to comment
Share on other sites

  • 3 months later...

Caro amigo,

 

Passei pelo mesmo problema a levei 3 dias para resolver.

 

Basta usar o seguinte código:

 

infEvento.cOrgao := copy(ChaveNFE, 1, 2);

 

Resolveu meu problema.

 

Se você não informar o cOrgao o acbr ira colocar 91 automaticamente e o XML  não será validado pelo servidor SVAN.

vc poderia me dar um exemplo mas claro de onde e como vou informar isto.... prq estou com o mesmo problema

Link to comment
Share on other sites

  • Este tópico foi criado há 3300 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.