Bom dia Prezados,
estou utilizando o método RecepcionarLoteRpsV3 para envio da NFS-e através da ferramenta SoapUi e estou recebendo o erro "Assinatura inválida. Informar assinatura correta no documento XML".
Segue o xml contendo o local onde estou inserindo a tag de assinatura e o seu formato:
Alguém consegue me ajudar a validar se estou inserindo a tag de assinatura corretamente e se o estou usando o formato de assinatura
adequado?
Abs,
Sérgio Salomão
</tipos:InfRps>
</tipos:Rps>
</tipos:ListaRps>
</n1:LoteRps>
<Signature>
<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="">
<Transforms>
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<DigestValue>389ZdV47MVyUvLUDlOnGkkOpPKY=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>YNHLBSB/N93B6pjlOIkf+6WrUEHvY6KBHaxARe4z9TLDSBe3OfchpiozbM1J1SxxlAAMfu+gUkojhcmtXIuA2dPfSY9JxX01CEKsYaUSGbN4/VmRIJKg9QFLvOXN6424rlSLQt8pnp2hy0tS+zbRzVPr+Y3ywkgbM5JFwFzMPGqIKxcaN4O/R2lgCC8OCUNh/oS9lY+Amvxz4TRjPZ2Y/Nsbn9YZQXA3Lw1RDXaXpE9xv5SgvB+Y6p84uV78ZoiWPNSfW3pwZTLnf74WI+cE8jA08X/gJGO3EYYVS7ZEfgL4Lj4a9hJsMlfhAQ8HViqo4kbBV/Nc0Ptx4Fdq3pDleA==</SignatureValue>
<KeyInfo>
<KeyValue>
<RSAKeyValue>
<Modulus>snRlMcntitYP66psGdutcDuBYF+3eOaWN0aNuydIC+h9MuCX966ce76dUluekgcblJtYYDFNudeOzY149d8K3RQGMtqOAZOlCW74WJisP+2ASPgwiOpgrGCGfzbCvOJVzvI9l9ebDq91O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