Login Registre-se
Erro no envio de cancelamento por evento  XML
Índice dos Fóruns » NF-e / NFS-e / CT-e / CF-e / Certificados Digitais
Autor Mensagem
jenniferson

JavaC Membro

Membro desde: 03/11/2014 15:44:06
Mensagens: 3
Offline

Olá galera, primeiramente, parabéns pela gestão do fórum.

Gostaria de uma ajuda no envio de cancelamento por evento.Criei os XSD pelo xjc e o WSDL pelo axis, todos os outros tentes de envio, status, consulta dão certos, porém na tentativa de envio por evento, recebo o seguinte errro.

ERROR: org.apache.axis2.AxisFault: Possible SOAP version mismatch: Envelope namespace http://schemas.xmlsoap.org/soap/envelope/ was unexpected. Expecting http://www.w3.org/2003/05/soap-envelope.

Será que alguém sabe o porque ?

segue o xml que estou gerando.



<?xml version="1.0" encoding="UTF-8" ?>
- <envEvento xmlns="http://www.portalfiscal.inf.br/nfe" versao="1.00">
<idLote>14</idLote>
- <evento versao="1.00" xmlns="http://www.portalfiscal.inf.br/nfe">
- <infEvento Id="ID1101113514101983158600016455001000000014114785236201">
<cOrgao>35</cOrgao>
<tpAmb>2</tpAmb>
<CNPJ>19831586000164</CNPJ>
<chNFe>35141019831586000164550010000000141147852362</chNFe>
<dhEvento>2014-11-03T15:37:23-02:00</dhEvento>
<tpEvento>110111</tpEvento>
<nSeqEvento>1</nSeqEvento>
<verEvento>1.00</verEvento>
- <detEvento versao="1.00">
<descEvento>Cancelamento</descEvento>
<nProt>135140005804785</nProt>
<xJust>teste de cancelamento</xJust>
</detEvento>
</infEvento>
- <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="#ID1101113514101983158600016455001000000014114785236201">
- <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>pZjxGztKa7BakPvSIi2UOSHtKjg=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>aoyhAqUq72NywPvTHfu1FhWBZawH3mIfgivagCaMMVifiZMSjqBnnQoyKT32oBNfYrMrhs/QOSuB0PgEXphAjSAw/8yxTrj5xfbUfodaVQygn70gbz+N2hTb6+XiwP7WfWU0azrDkBOUooeXwzbGCmmNynWs0xagbE7o2HmFwDaGQvsXP9MLl/M+zyC3v0yaKsxV2PBi2Bc92BotSCxvvFv2EfrPaIDiZZF3CpAYOgqMrAJQLZ01DyU7ZtkytoRfq5YS3qYR207/bvferiA6xTVtYaMjoZThArxowMqe+/1DXRN6yn83h/ybpvbE4Zn7r89FKPYJycCGhipPouypvw==</SignatureValue>
- <KeyInfo>
- <X509Data>
<X509Certificate>MIIIYjCCBkqgAwIBAgIQMg4/Z7vjGOBBL3/5VPC1szANBgkqhkiG9w0BAQsFADB4MQswCQYDVQQGEwJCUjETMBEGA1UEChMKSUNQLUJyYXNpbDE2MDQGA1UECxMtU2VjcmV0YXJpYSBkYSBSZWNlaXRhIEZlZGVyYWwgZG8gQnJhc2lsIC0gUkZCMRwwGgYDVQQDExNBQyBDZXJ0aXNpZ24gUkZCIEc0MB4XDTE0MDQwNDAwMDAwMFoXDTE3MDQwMjIzNTk1OVowgfkxCzAJBgNVBAYTAkJSMRMwEQYDVQQKFApJQ1AtQnJhc2lsMQswCQYDVQQIEwJTUDESMBAGA1UEBxQJU0FPIFJPUVVFMTYwNAYDVQQLFC1TZWNyZXRhcmlhIGRhIFJlY2VpdGEgRmVkZXJhbCBkbyBCcmFzaWwgLSBSRkIxFjAUBgNVBAsUDVJGQiBlLUNOUEogQTMxIDAeBgNVBAsUF0F1dGVudGljYWRvIHBvciBBUiBUQVJDMUIwQAYDVQQDEzlDQVJFTiBDUklTVElOQSBDQU1BUkdPIEFOVFVORVMgQ0FORElETyBFUFA6MTk4MzE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1ZWMCgPdvfJFRzrHUesmy2AyKLGOCqFguQ8aSsgnf4sDeFGmb5miJE7OowSMvUXxRk6iGCJtiB12kfHEOjEGyButIZGMEVl908Drmv5mFdECd0BcnUrUQQYsCfPODO4Olk1g5C9YKI5zTVbaCho=</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
</evento>
</envEvento>
jenniferson

JavaC Membro

Membro desde: 03/11/2014 15:44:06
Mensagens: 3
Offline

Alguém, pode ajudar ?
jenniferson

JavaC Membro

Membro desde: 03/11/2014 15:44:06
Mensagens: 3
Offline

Galera quando troco a url do webservice para a de parana, consigo me comunicar com o webservice e tenho retorno porém quando coloco a url https://homologacao.nfe.fazenda.sp.gov.br/eventosWEB/services/RecepcaoEvento.asmx acontece o erro citado acima, será que alguém tem alguma ideia do que pode ser ???
 
Índice dos Fóruns » NF-e / NFS-e / CT-e / CF-e / Certificados Digitais
Ir para:   
Powered by JForum 2.1.9 © JForum Team