Pesquisar na Comunidade
Showing results for tags 'xml não compatível com schema'.
Encontrado 1 registro
-
Boa tarde, pessoal estou com problema para efetuar consulta de nfe no ws de são paulo. Segue abaixo o xml enviado: <?xml version="1.0" encoding="UTF-8"?> <p1:PedidoConsultaNFe xmlns:p1="http://www.prefeitura.sp.gov.br/nfe" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Cabecalho Versao="1"> <CPFCNPJRemetente> <CNPJ>04642554000143</CNPJ> </CPFCNPJRemetente> </Cabecalho> <Detalhe> <ChaveNFe> <InscricaoPrestador>31000000</InscricaoPrestador> <NumeroNFe>51</NumeroNFe> </ChaveNFe> </Detalhe> <Detalhe> <ChaveRPS> <InscricaoPrestador>31000000</InscricaoPrestador> <SerieRPS>LLLLL</SerieRPS> <NumeroRPS>2</NumeroRPS> </ChaveRPS> </Detalhe> <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=""> <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>py4wNLPd/3N4D5oNik6goSYdeyE=</DigestValue> </Reference> </SignedInfo> <SignatureValue>adYvn7k+OVL9rjActY6H5fvQ0rUTeetPYcSD26XBurBeY/3ob90R8Xu3FoY2L8I2Xf181UdJ61VXRKudEY6kQgCVL9fWF5lRSqgTqBqV3i1SHmI1K3CKtt6nCvqieurZKcfXbmizKGWzw9+0czOh0PzmCrfL/n7LC6MVeqaQJUU=</SignatureValue> <KeyInfo> <X509Data> <X509Certificate>MIIFUzCCBDugAwIBAgIQSUJS8pELZyjasDkgGzKm0TANBgkqhkiG9w0BAQUFADBuMQswCQ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RpU2lnblNSRlYzL0xhdGVzdENSTC5jcmwwHwYDVR0jBBgwFoAU9p1ZXf6/xXLN3c7ELmYbLu4Iz3YwDgYDVR0PAQH/BAQDAgXgMFUGA1UdIAROMEwwSgYGYEwBAgMGMEAwPgYIKwYBBQUHAgEWMmh0dHA6Ly9pY3AtYnJhc2lsLmNlcnRpc2lnbi5jb20uYnIvcmVwb3NpdG9yaW8vZHBjMB0GA1UdJQQWMBQGCCsGAQUFBwMEBggrBgEFBQcDAjA4BggrBgEFBQcBAQQsMCowKAYIKwYBBQUHMAGGHGh0dHA6Ly9vY3NwLmNlcnRpc2lnbi5jb20uYnIwDQYJKoZIhvcNAQEFBQADggEBAC5w/CBXAykvPSbBGf+u0UPcWVJATL2ix0hCfNUVtHaCjMz8hRjgYqmhpefzDm2LCTvoCPzG6XQBYxAmnDhX1f/gyjHz+E1xJg451qtqcyCJ9861o9R2bHd4zR0DuyxCNGOTiYJ4Gc/Xa4xqECorAx5ktkk1T/HOc1K/ntRGpdL+llsO/jqSRmTOnRgdeNHcKkyXsOgL5BwxxgGNuIyqirgGXW0by4Io1GnSXtixxfvEOnqOicxBY6AcVS9HHuhmOBYiK9skAUp0Sm2v41hpsC8uIkfUeRxsJIp2CNZ4DjoyfmKwNLMCRZQAKpwMXyyHZlX1a4o/9iGTszNeeShw61g=</X509Certificate> </X509Data> </KeyInfo> </Signature> </p1:PedidoConsultaNFe> retorno: <?xml version="1.0" encoding="UTF-8"?> <RetornoConsulta xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.prefeitura.sp.gov.br/nfe"> <Cabecalho Versao="1" xmlns=""> <Sucesso>false</Sucesso> </Cabecalho> <Erro xmlns=""> <Codigo>1001</Codigo> <Descricao>XML não compatível com Schema.The 'http://www.prefeitura.sp.gov.br/nfe:PedidoConsultaNFe' element is not declared.</Descricao> </Erro> </RetornoConsulta> não sei mais oque fazer
- 5 replies
-
- pedidoconsultanfe
- erro 1001
- (e 3 mais)