Desenvolvimento NFS-e
Desenvolvimento NFS-e

Site destinado a desenvolvedores de softwares na integração com a NFS-e.
 
InícioInício  CalendárioCalendário  FAQFAQ  BuscarBuscar  GruposGrupos  Registrar-seRegistrar-se  Conectar-se  

Compartilhe | 
 

 (RESOLVIDO)Exemplo de arquivo XML de cancelamento versão 2.0.2

Ver o tópico anterior Ver o tópico seguinte Ir em baixo 
AutorMensagem
Vinicius Silveira ADM
Admin
avatar

Mensagens : 441
Data de inscrição : 23/02/2012
Localização : São Paulo

MensagemAssunto: (RESOLVIDO)Exemplo de arquivo XML de cancelamento versão 2.0.2    Ter Ago 28, 2012 9:42 am

<?xml version="1.0" encoding="UTF-8"?>
<!--Sample XML file generated by XMLSpy v2008 rel. 2 (http://www.altova.com)-->
<tns:CancelarNfseEnvio xsi:schemaLocation="http://www.ginfes.com.br/servico_cancelar_nfse_envio servico_cancelar_nfse_envio_v02.xsd" xmlns:n1="http://www.altova.com/samplexml/other-namespace" xmlns:tns="http://www.ginfes.com.br/servico_cancelar_nfse_envio" xmlns:tipos="http://www.ginfes.com.br/tipos" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tns:Prestador>
<tipos:Cnpj>a</tipos:Cnpj>
<tipos:InscricaoMunicipal>a</tipos:InscricaoMunicipal>
</tns:Prestador>
<tns:NumeroNfse>123456789123456</tns:NumeroNfse>
<ds:Signature Id="ID_1">
<ds:SignedInfo Id="ID_2">
<ds:CanonicalizationMethod Algorithm="http://www.altova.com">text</ds:CanonicalizationMethod>
<ds:SignatureMethod Algorithm="http://www.altova.com">
<ds:HMACOutputLength>0</ds:HMACOutputLength>
</ds:SignatureMethod>
<ds:Reference Type="http://www.altova.com" Id="ID_3" URI="http://www.altova.com">
<ds:Transforms>
<ds:Transform Algorithm="http://www.altova.com">
<n1:auto-generated_for_wildcard/>
</ds:Transform>
</ds:Transforms>
<ds:DigestMethod Algorithm="http://www.altova.com">text</ds:DigestMethod>
<ds:DigestValue>UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi</ds:DigestValue>
</ds:Reference>
</ds:SignedInfo>
<ds:SignatureValue Id="ID_4">UjBsR09EbGhjZ0dTQUxNQUFBUUNBRU1tQ1p0dU1GUXhEUzhi</ds:SignatureValue>
<ds:KeyInfo Id="ID_5">
<ds:KeyName>String</ds:KeyName>
</ds:KeyInfo>
<ds:Object MimeType="String" Encoding="http://www.altova.com" Id="ID_6">
<auto-generated_for_wildcard/>
</ds:Object>
</ds:Signature>
</tns:CancelarNfseEnvio>


Última edição por Elton em Qui Fev 21, 2013 3:17 pm, editado 1 vez(es)
Voltar ao Topo Ir em baixo
http://SuporteNFS-e.forumeiros.com
Fernando Fagunde



Mensagens : 1
Data de inscrição : 04/10/2012

MensagemAssunto: Re: (RESOLVIDO)Exemplo de arquivo XML de cancelamento versão 2.0.2    Qui Out 04, 2012 4:30 pm

Elton gerei baseado em seu arquivo porém retorna erro E160 ... Por favor me ajude, estou desesperado, o que estou fazendo errado?.. abaixo segue o xml do envelope....

<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv=schemasxmlsoaporg/soap/envelope/>
<soapenv:Body>
<ns1:CancelarNfse xmlns:ns1=homologacaoginfescombr>
&lt;?xml version="1.0" encoding="utf-8"?&gt;
<arg0>
<ns3:CancelarNfseEnvio xmlns:ns3=wwwginfescombr/servico_cancelar_nfse_envio xmlns:ns4=wwwginfescombr/tipos>
<Prestador>
<ns4:Cnpj>58216235000600</ns4:Cnpj>
<ns4:InscricaoMunicipal>18512</ns4:InscricaoMunicipal>
</Prestador>
<NumeroNFSe>45</NumeroNFSe>
<Signature xmlns=wwww3org/2000/09/xmldsig#>
<SignedInfo>
<CanonicalizationMethod Algorithm=wwww3org/TR/2001/REC-xml-c14n-20010315/>
<SignatureMethod Algorithm=wwww3org/2000/09/xmldsig#rsa-sha1/>
<Reference URI="">
<Transforms>
<Transform Algorithm=wwww3org/2000/09/xmldsig#enveloped-signature/>
<Transform Algorithm=wwww3org/TR/2001/REC-xml-c14n-20010315/>
</Transforms>
<DigestMethod Algorithm=wwww3org/2000/09/xmldsig#sha1/><DigestValue>nP1jRW+PtIYCzmUBjkpMTW2InyI=</DigestValue></Reference>
</SignedInfo>
<SignatureValue>e0+x80gWgO/XxPG1y3igzC5VSHrX/d7DFAX79c+z8toVU1noanY40VYeAlMt+qnypbsAyO6Gb3aWvqFOYwTSvTFo2wBBtCe87lyD7aOiIlHHcYJxRGf6icLp45IoBHLgAnkEIReYDnPOwf4dsYywc1mGSFIocX3BdUOyg/9WLZw=</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>MIIGJzCCBQ+gAwIBAgIIRGDnZehb74cwDQYJKoZIhvcNAQEFBQAwTDELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxKDAmBgNVBAMTH1NFUkFTQSBDZXJ0aWZpY2Fkb3JhIERpZ2l0YWwgdjEwHhcNMTExMDEwMTQ1NDIwWhcNMTIxMDA5MTQ1NDIwWjCB7DELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxFDASBgNVBAsTCyhFTSBCUkFOQ08pMRgwFgYDVQQLEw8wMDAwMDEwMDIyMTMzMTYxFDASBgNVBAsTCyhFTSBCUkFOQ08pMRQwEgYDVQQLEwsoRU0gQlJBTkNPKTEUMBIGA1UECxMLKEVNIEJSQU5DTykxFDASBgNVBAsTCyhFTSBCUkFOQ08pMRQwEgYDVQQLEwsoRU0gQlJBTkNPKTEqMCgGA1UEAxMhU1VQTUFSIFNVUFJJTUVOVE9TIE1BUklUSU1PUyBMVERBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC5toA6QCkbr56Qrzt0Q41q3GTH0obTXF9MrsdwgCr5tQzFoX5gU4RqdXsV3bbjq+fxfbGSQcreWqLjExNvx8pR+SvBMrWJONrRra4RjBgkrIUNriU+CP93XIaJolV8HwLR5A9Q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hY2R2MTANBgkqhkiG9w0BAQUFAAOCAQEAa+aLyC6f5+ChI+lYlV64DU+tiWMNM2ag1571p/HLcTk9UJnB8RIKDYiK4nLJPwzz7s0P073DQ+uIObWLBMM5TEd/obyIKko1RlrB6gtDdr3Pb9cYidbcUiICTNVkfhFEwRN90D3xAvkWis2pF8W4T9MMcHnQ+O1VykS/s2wPiZNLorlvqk8hw74Gf2NGltKhMfujjEiHo6cmkvctHTV8o+kMilBVBe4oOuUiJQO3tRorRXa7r7DUlkBB8M8+N+YbSq15AHDf/+FDgvzElefLO5J965TKOgHtQADrOUikKZfdMMz/KozgPQ92+m6B2/gCYoqH14JTifMQAHibEguKVA==</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</ns3:CancelarNfseEnvio>
</arg0>
</ns1:CancelarNfse>
</soapenv:Body>
</soapenv:Envelope>
Voltar ao Topo Ir em baixo
Vinicius Silveira ADM
Admin
avatar

Mensagens : 441
Data de inscrição : 23/02/2012
Localização : São Paulo

MensagemAssunto: Re: (RESOLVIDO)Exemplo de arquivo XML de cancelamento versão 2.0.2    Qui Fev 21, 2013 2:34 pm

Fernando Fagunde escreveu:
Elton gerei baseado em seu arquivo porém retorna erro E160 ... Por favor me ajude, estou desesperado, o que estou fazendo errado?.. abaixo segue o xml do envelope....

<?xml version="1.0" encoding="utf-8"?>
<soapenv:Envelope xmlns:soapenv=schemasxmlsoaporg/soap/envelope/>
<soapenv:Body>
<ns1:CancelarNfse xmlns:ns1=homologacaoginfescombr>
<?xml version="1.0" encoding="utf-8"?>
<arg0>
<ns3:CancelarNfseEnvio xmlns:ns3=wwwginfescombr/servico_cancelar_nfse_envio xmlns:ns4=wwwginfescombr/tipos>
<Prestador>
<ns4:Cnpj>58216235000600</ns4:Cnpj>
<ns4:InscricaoMunicipal>18512</ns4:InscricaoMunicipal>
</Prestador>
<NumeroNFSe>45</NumeroNFSe>
<Signature xmlns=wwww3org/2000/09/xmldsig#>
<SignedInfo>
<CanonicalizationMethod Algorithm=wwww3org/TR/2001/REC-xml-c14n-20010315/>
<SignatureMethod Algorithm=wwww3org/2000/09/xmldsig#rsa-sha1/>
<Reference URI="">
<Transforms>
<Transform Algorithm=wwww3org/2000/09/xmldsig#enveloped-signature/>
<Transform Algorithm=wwww3org/TR/2001/REC-xml-c14n-20010315/>
</Transforms>
<DigestMethod Algorithm=wwww3org/2000/09/xmldsig#sha1/><DigestValue>nP1jRW+PtIYCzmUBjkpMTW2InyI=</DigestValue></Reference>
</SignedInfo>
<SignatureValue>e0+x80gWgO/XxPG1y3igzC5VSHrX/d7DFAX79c+z8toVU1noanY40VYeAlMt+qnypbsAyO6Gb3aWvqFOYwTSvTFo2wBBtCe87lyD7aOiIlHHcYJxRGf6icLp45IoBHLgAnkEIReYDnPOwf4dsYywc1mGSFIocX3BdUOyg/9WLZw=</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>MIIGJzCCBQ+gAwIBAgIIRGDnZehb74cwDQYJKoZIhvcNAQEFBQAwTDELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxKDAmBgNVBAMTH1NFUkFTQSBDZXJ0aWZpY2Fkb3JhIERpZ2l0YWwgdjEwHhcNMTExMDEwMTQ1NDIwWhcNMTIxMDA5MTQ1NDIwWjCB7DELMAkGA1UEBhMCQlIxEzARBgNVBAoTCklDUC1CcmFzaWwxFDASBgNVBAsTCyhFTSBCUkFOQ08pMRgwFgYDVQQLEw8wMDAwMDEwMDIyMTMzMTYxFDASBgNVBAsTCyhFTSBCUkFOQ08pMRQwEgYDVQQLEwsoRU0gQlJBTkNPKTEUMBIGA1UECxMLKEVNIEJSQU5DTykxFDASBgNVBAsTCyhFTSBCUkFOQ08pMRQwEgYDVQQLEwsoRU0gQlJBTkNPKTEqMCgGA1UEAxMhU1VQTUFSIFNVUFJJTUVOVE9TIE1BUklUSU1PUyBMVERBMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC5toA6QCkbr56Qrzt0Q41q3GTH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VpYXMvc2VyYXNhY2R2MS5wN2IwPAYIKwYBBQUHMAGGMGh0dHA6Ly9vY3NwLmNlcnRpZmljYWRvZGlnaXRhbC5jb20uYnIvc2VyYXNhY2R2MTANBgkqhkiG9w0BAQUFAAOCAQEAa+aLyC6f5+ChI+lYlV64DU+tiWMNM2ag1571p/HLcTk9UJnB8RIKDYiK4nLJPwzz7s0P073DQ+uIObWLBMM5TEd/obyIKko1RlrB6gtDdr3Pb9cYidbcUiICTNVkfhFEwRN90D3xAvkWis2pF8W4T9MMcHnQ+O1VykS/s2wPiZNLorlvqk8hw74Gf2NGltKhMfujjEiHo6cmkvctHTV8o+kMilBVBe4oOuUiJQO3tRorRXa7r7DUlkBB8M8+N+YbSq15AHDf/+FDgvzElefLO5J965TKOgHtQADrOUikKZfdMMz/KozgPQ92+m6B2/gCYoqH14JTifMQAHibEguKVA==</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</ns3:CancelarNfseEnvio>
</arg0>
</ns1:CancelarNfse>
</soapenv:Body>
</soapenv:Envelope>

Seu arquivo esta faltando um monte de tag que são obrigatórias, baixe o XSD e o manual de integração na área de manual do site e verifique quais são as tags obrigatórias.
Voltar ao Topo Ir em baixo
http://SuporteNFS-e.forumeiros.com
Conteúdo patrocinado




MensagemAssunto: Re: (RESOLVIDO)Exemplo de arquivo XML de cancelamento versão 2.0.2    

Voltar ao Topo Ir em baixo
 
(RESOLVIDO)Exemplo de arquivo XML de cancelamento versão 2.0.2
Ver o tópico anterior Ver o tópico seguinte Voltar ao Topo 
Página 1 de 1
 Tópicos similares
-
» [Resolvido]Exemplo de arquivo ajuda
» [Resolvido]Propriedade do Arquivo (Tamanho)
» [Resolvido]Exemplo de Somar Horas
» [Resolvido]Abrir um Arquivo do Excel dentro do Access
» [Resolvido]Upload de arquivo para FTP via VBA

Permissão deste fórum:Você não pode responder aos tópicos neste fórum
Desenvolvimento NFS-e  :: Arquivo XML-
Ir para: