NFS-e Itajaí

Gostaria de reagir a esta mensagem? Crie uma conta em poucos cliques ou inicie sessão para continuar.
NFS-e Itajaí

Destinado aos desenvolvedores de ERP's que desejam desenvolver soluções de integração com a NFS-e do município de Itajaí/SC.


    Erro Assinatura do Hash - Envio de DIR base homologação

    avatar
    afonso


    Mensagens : 2
    Data de inscrição : 12/03/2015

    Erro Assinatura do Hash - Envio de DIR base homologação Empty Erro Assinatura do Hash - Envio de DIR base homologação

    Mensagem  afonso Qui Mar 12, 2015 8:45 am

    Bom dia Estou desenvolvendo uma aplicação em JAVA para envio e consulta da DIR na prefeitura de Itajai... Porem esta ocorrendo o erro abaixo.
    alguém consegue me ajudar?

    RETORNO

       <ns2:ListaMensagemRetorno>
           <ns2:MensagemRetorno>
               <ns2:Codigo>E1</ns2:Codigo>
               <ns2:Mensagem>Assinatura do Hash não confere.</ns2:Mensagem>
               <ns2:Correcao>Reenvie assinatura do Hash conforme algoritmo estabelecido no Manual de Instrução da NFS-e.</ns2:Correcao>
           </ns2:MensagemRetorno>
       </ns2:ListaMensagemRetorno>


    avatar
    afonso


    Mensagens : 2
    Data de inscrição : 12/03/2015

    Erro Assinatura do Hash - Envio de DIR base homologação Empty Re: Erro Assinatura do Hash - Envio de DIR base homologação

    Mensagem  afonso Qui Mar 12, 2015 8:53 am

    Segue o XML que esta sendo enviado

    obs: os links esta com "-" porque nao tenho permissão para postar

    <ConsultarSituacaoLoteDirEnvio xmlns="h-t-t-p-:-/-/-w-w-w-.-p-u-blica.inf.br/dir">
       <Tomador>
           <Cnpj>01362467000144</Cnpj>
       </Tomador>    
    <Signature xmlns="h-t-t-p-:-/-/-w-w-w-.-w-3-.-o-r-g-/2000/09/xmldsig#">
    <SignedInfo>
    <CanonicalizationMethod Algorithm="h-t-t-p-:-/-/-w-w-w-.-w-3-.-o-r-g-/-TR/2001/REC-xml-c14n-20010315#WithComments"/>
    <SignatureMethod Algorithm="h-t-t-p-:-/-/-w-w-w-.-w-3-.-o-r-g-/-2-0-00/09/xmldsig#rsa-sha1"/>
    <Reference URI="h-t-t-p-:-/-/-w-w-w-.-w-3-.-o-r-g-/-T-R-/-x-m-l-s-t-y-l-e-s-h-e-et">
    <Transforms>
    <Transform Algorithm="h-t-t-p-:-/-/-w-w-w-.-w-3-.-o-r-g-/-2-0-0-0-/-09/xmldsig#enveloped-signature"/>
    </Transforms><DigestMethod Algorithm="h-t-t-p-:-/-/-w-w-w-.-w-3-.-o-r-g-/-2-0-0-0-/-0-9-/-x-m-l-dsig#sha1"/>
    <DigestValue>Fbnhj0kvNpId+0viDt1UXUBgLNY=</DigestValue>
    </Reference>
    </SignedInfo>
    <SignatureValue>SaRsfibT+HuuY8L429CASi39vNgppJcf4lruOSNzze+bgcPBu/MDdHQ2XmKR9mycIytEebwMupNo
    3kA6N+1KXeSDf6SKlf8V8Xyh2/vq0vPCOTdlyBWqNJ9dP205DOmEl6reRgAXXMlJ8I0u7vVr9tWD
    duFkpU4KUNDNvXJzgUBEtSUnQ+UPfN2v+l8oH7qhMk8F5War1v0KAwgw9vAptMuS65iUO8ioKFQ0
    Hyzla+WUUsJ5T2qc4g9qRSXYYnBul87EcygIZmYK6spoZUbm7HYRfdCaVeKyRjFp5cnMwfck78z9
    ji4eHUeRmv/cihGR0yAlOk8PRruo0l+obGwDtQ==</SignatureValue>
    <KeyInfo>
    <X509Data>
    <X509Certificate>MIIH3TCCBcWgAwIBAgIIZM48L0dAfEgwDQYJKoZIhvcNAQELBQAwdTELMAkGA1UEBhMCQlIxEzAR
    BgNVBAoTCklDUC1CcmFzaWwxNjA0BgNVBAsTLVNlY3JldGFyaWEgZGEgUmVjZWl0YSBGZWRlcmFs
    IGRvIEJyYXNpbCAtIFJGQjEZMBcGA1UEAxMQQUMgU0VSQVNBIFJGQiB2MjAeFw0xNDA4MTQxODM0
    MDBaFw0xNTA4MTQxODM0MDBaMIHIMQswCQYDVQQGEwJCUjELMAkGA1UECBMCU0MxDzANBgNVBAcT
    BklUQUpBSTETMBEGA1UEChMK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FJp9mzlofOc205mwVEq7/P5g0hwu1mlUwQjeJYtTYZQoXpHOHQrYaE
    Nf1wXF+HqtzAxEkHNpOgB3oAqTIxec5fxA/46jEmbN49lN6vfpVPc5sX12igkeDPtLABuXN7udyJ
    phlZ7UEhTpIvrOTB+GLnQKBp0lozM8ICFKZWAQYT+0hseK+3UfS9fBHCu+odqE4M59rKDnSl0Tax
    kBOAk7hsHtDdGyP2DAHYm6qSrw9rFrmX69dcA8bIw1Zo0QXoUzcK1mEH0tKuutkftNlX3LW63UNS
    43kc3StdIRRuy6/NLjivy8ho/eCRYg==</X509Certificate>
    </X509Data>
    <KeyValue>
    <RSAKeyValue>
    <Modulus>skY4XkTuE1avutBTRTqsFplmN7fxymvoZXyihcWBJdMlWJ84evVRYZ/K7aq5sl0BS+ff5rvE1l+8
    ZPi8W6ef6Q3sa5+Mf5NmNuo+w6ZPy9pqfd9eEEooY8Kn7ybJzt94DEI5q2hIcWCxaInoJJTyki66
    G2UT6Tkzpyv24tu//8eq2kO7lCBNUB7FjDN4oBO3PWN+dkcqVHhMjCXSYUIf2iJg3w3AfavHcb80
    5Gj9N2rSfVxS4fV/SO6dbG9KVd/6J5VJgl0cH7ynE+aea+0Qur6AZqQvGuyAew89z3cLE6XSod1A
    8kYJQQDfWB9tWb+JVXekBidIGfHJKb3zCDHyuQ==</Modulus>
    <Exponent>AQAB</Exponent>
    </RSAKeyValue>
    </KeyValue>
    </KeyInfo>
    </Signature>
    <Protocolo>protocolo</Protocolo>
    </ConsultarSituacaoLoteDirEnvio>

      Data/hora atual: Qui Nov 21, 2024 2:26 am