Ir para conteúdo
  • Cadastre-se

pirulito

Membros
  • Total de ítens

    5
  • Registro em

  • Última visita

Últimos Visitantes

O bloco dos últimos visitantes está desativado e não está sendo visualizado por outros usuários.

pirulito's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter

Recent Badges

1

Reputação

1

Community Answers

  1. Consegui avançar! Coloquei a tag da assinatura na posição correta, mas agora está dando o mesmo erro que vc: <env:Envelope xmlns:env='http://www.w3.org/2003/05/soap-envelope'> <env:Body xmlns:env='http://www.w3.org/2003/05/soap-envelope'> <nfeResultMsg xmlns='http://www.portalfiscal.inf.br/nfe/wsdl/NFeRecepcaoEvento4'> <retEnvEvento versao='1.00' xmlns='http://www.portalfiscal.inf.br/nfe'> <idLote>000000000000001</idLote> <tpAmb>2</tpAmb> <verAplic>PR-v4_5_8</verAplic> <cOrgao>41</cOrgao> <cStat>999</cStat> <xMotivo>Erro nao catalogado</xMotivo> </retEnvEvento> </nfeResultMsg> </env:Body> </env:Envelope>
  2. Alguém pode postar xml's completos, se possível as mensagens soap completas de manifestações bem sucedidas (ciencia, confirmacao, desconhecimento, não realizada, etc) pra mim comparar, fazendo favor. Mais um dia lidando com isso e ainda não consegui resolver. Faltava assinatura digital no xml, já consegui implementar a assinatura. Mas continua dando o erro: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <nfeResultMsg xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NFeRecepcaoEvento4"> <retEnvEvento versao="1.00" xmlns="http://www.portalfiscal.inf.br/nfe"> <idLote></idLote> <tpAmb>2</tpAmb> <verAplic>1.0.0</verAplic> <cOrgao>53</cOrgao> <cStat>215</cStat> <xMotivo>Rejeicao: Falha no Esquema XML</xMotivo> </retEnvEvento> </nfeResultMsg> </soap:Body> </soap:Envelope> Segue o xml completo da manifestação (alterei os dados do cliente): <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <nfeDadosMsg xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NFeRecepcaoEvento4"> <envEvento versao="1.00" xmlns="http://www.portalfiscal.inf.br/nfe"> <idLote>000000000000001</idLote> <evento versao="1.00" xmlns="http://www.portalfiscal.inf.br/nfe"> <infEvento Id="ID210210xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx01"> <cOrgao>91</cOrgao> <tpAmb>2</tpAmb> <CNPJ>xxxxxxxxxxxxxx</CNPJ> <chNFe>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</chNFe> <dhEvento>2020-03-05T19:12:11-03:00</dhEvento> <tpEvento>210210</tpEvento> <nSeqEvento>1</nSeqEvento> <verEvento>1.00</verEvento> <detEvento versao="1.00"> <descEvento>Ciencia da Operacao</descEvento> </detEvento> </infEvento> </evento> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"> <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="#ID210210xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx01"> <Transforms> <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /> <Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /> </Transforms> <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> <DigestValue>xxxxx=</DigestValue> </Reference> </SignedInfo> <SignatureValue>xxxxx==</SignatureValue> <KeyInfo> <X509Data> <X509Certificate>xxxxx==</X509Certificate> </X509Data> </KeyInfo> </Signature> </envEvento> </nfeDadosMsg> </soap:Body> </soap:Envelope> Resultado da validação em anexo. Infelismente não. Estou testando tudo em homologação. Ao validar esse XMLassinado com os schemas, dá o seguinte erro: The 'http://www.w3.org/2000/09/xmldsig#:Signature' element is not declared. Mas a assinatura está no arquivo, será que está na posição correta?
  3. Olá, estou a três dias tentando conseguir dar certo a manifestação de nota. URL: https://hom.nfe.fazenda.gov.br/NFeRecepcaoEvento4/NFeRecepcaoEvento4.asmx XML: Envio: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <nfeDadosMsg xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NFeRecepcaoEvento4"> <envEvento versao="1.00" xmlns="http://www.portalfiscal.inf.br/nfe"> <idLote>000000000000001</idLote> <evento versao="1.00" xmlns="http://www.portalfiscal.inf.br/nfe"> <infEvento Id="ID2102104120010853830300017455001000254102100244014001"> <cOrgao>91</cOrgao> <tpAmb>1</tpAmb> <CNPJ>16602604000148</CNPJ> <chNFe>41200108538303000174550010002541021002440140</chNFe> <dhEvento>2020-03-04T14:41:01-03:00</dhEvento> <tpEvento>210210</tpEvento> <nSeqEvento>1</nSeqEvento> <verEvento>1.00</verEvento> <detEvento versao="1.00"> <descEvento>Ciencia da Operacao</descEvento> </detEvento> </infEvento> </evento> </envEvento> </nfeDadosMsg> </soap:Body> </soap:Envelope> Retorno da Sefaz: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:Body> <nfeRecepcaoEventoNFResult xmlns="http://www.portalfiscal.inf.br/nfe/wsdl/NFeRecepcaoEvento4"> <retEnvEvento versao="1.00" xmlns="http://www.portalfiscal.inf.br/nfe"> <idLote>000000000000000</idLote> <tpAmb>2</tpAmb> <verAplic>AN_4.0.0</verAplic> <cOrgao>91</cOrgao> <cStat>225</cStat> <xMotivo>Rejeicao: Falha no Esquema XML do lote de NF-e</xMotivo> </retEnvEvento> </nfeRecepcaoEventoNFResult> </soap:Body> </soap:Envelope> Resultado da validação em anexo. Não sei mais o que fazer, já li tudo que é tópico a respeito. Já testei em ambiente de homologação e produção. O resultado é o mesmo. Será q a versão atual do EnvEvento é 1.00 mesmo? Agradeço,
×
×
  • Criar Novo...

Informação Importante

Colocamos cookies em seu dispositivo para ajudar a tornar este site melhor. Você pode ajustar suas configurações de cookies, caso contrário, assumiremos que você está bem para continuar.

The popup will be closed in 10 segundos...