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 | 
 

 Erro ao Consultar NFSe

Ir em baixo 
AutorMensagem
stainle



Mensagens : 10
Data de inscrição : 11/01/2016

MensagemAssunto: Erro ao Consultar NFSe   Seg Set 25, 2017 7:48 pm

usando o codigo abaixo, apresenta o seguinte erro:
É necessario um certificado para concluir a autenticação do cliente -
URL:https://homologacao.ginfes.com.br//serviceginfsimpl - SOAPAction:""

só que usando o ACBrMonitorPlus, funcionou direitinho, inclusive tentei usar o XML gerado por ele e que se encontra mais abaixo.
Alguém passou por isso ou sabe o que pode estar errado?

var
XMLEnvio : TXMLDocument;
WebService: ServiceGinfesImpl;
begin
WebService := GetServiceGinfesImpl(True, '', HTTPRIO1);
Memo2.Lines.Text := WebService.ConsultarNfse(XMLDocument1.XML.Text);

XML:
<?xml version="1.0" encoding="UTF-8"?
><soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/env
elope/"><soap:Body><ns1:ConsultarNfseV3
xmlns:ns1="http://producao.ginfes.com.br"><arg0
><ns2:cabecalho versao="3"
xmlns:ns2="http://www.ginfes.com.br/cabecalho_v
03.xsd"><versaoDados>3</versaoDados></ns2:c
abecalho></arg0><arg1><ns3:ConsultarNfseEnvi
o
xmlns:ns3="http://www.ginfes.com.br/servico_cons
ultar_nfse_envio_v03.xsd"
xmlns:ns4="http://www.ginfes.com.br/tipos_v03.xs
d"><ns3:Prestador><ns4:Cnpj>24709728000155<
/ns4:Cnpj><ns4:InscricaoMunicipal>1338731</ns4:
InscricaoMunicipal></ns3:Prestador><ns3:PeriodoE
missao><ns3:DataInicial>2017-01-
01</ns3:DataInicial><ns3:DataFinal>2017-08-
31</ns3:DataFinal></ns3:PeriodoEmissao><Signat
ure
xmlns="http://www.w3.org/2000/09/xmldsig#"><Si
gnedInfo><CanonicalizationMethod
Algorithm="http://www.w3.org/TR/2001/REC-xml-
c14n-20010315"/><SignatureMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#rs
a-sha1"/><Reference
URI=""><Transforms><Transform
Algorithm="http://www.w3.org/2000/09/xmldsig#e
nveloped-signature"/><Transform
Algorithm="http://www.w3.org/TR/2001/REC-xml-
c14n-20010315"/></Transforms><DigestMethod
Algorithm="http://www.w3.org/2000/09/xmldsig#sh
a1"/><DigestValue>H5nifD
+rs5h4841HSNmg2+XODMY=</DigestValue></Ref
erence></SignedInfo><SignatureValue>aeyV7flboI
drBzCxrHA
+aN6iU4QEEMDL97UrP2OYtKl88Ny6a0hwGSB8j0ZD5
reoPrMtGYpFFtfS4BHMpgYSSoyCyWzrFT3DbHwTi9cr
2T2in5tjhLxTgaSbxs9xdTGStvZZZ2rUw5ai/MQ
+BNdhtioppReT3R9nCJHI6mdTrCRDihkr/d3Qv4nBDB
DaD4/KYXG2uCgZbi3aB3lJNh65Hai9Ssw0ti3XTsuajdg
H5Y7JQ98ER1YlVnzPFM+TpBKELuolGZbBF8/fEhTY
+IIF1KvH6xGF0wGL4hECBwiCxn8uUzQAOuHqNWzC
piy2j0w8g9PC0o/M9QukngSIeY
+5pA==</SignatureValue><KeyInfo><X509Data>
<X509Certificate>MIIHljCCBX6gAwIBAgIEANRFkDA
NBgkqhkiG9w0BAQsFADCBiTELMAkGA1UEBhMCQlIx
EzARBgNVBAoTCklDUC1CcmFzaWwxNjA0BgNVBAsT
LVNlY3JldGFyaWEgZGEgUmVjZWl0YSBGZWRlcmFsIG
RvIEJyYXNpbCAtIFJGQjEtMCsGA1UEAxMkQXV0b3J
pZGFkZSBDZXJ0aWZpY2Fkb3JhIFNFUlBST1JGQnY0
MB4XDTE3MDUxODIyMjcwOFoXDTIwMDUxNzIyMjcw
OFowgekxCzAJBgNVBAYTAkJSMQswCQYDVQQIEwJ
TUDETMBEGA1UEBxMKQVJBUkFRVUFSQTETMBEGA1
UEChMKSUN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
+YEQ0parrEnnDQ0jo0pA2OyWo7n3MZpIcmSmPagT
NFHkFWTfbmhNbkUdq3PjxI/l/3mviMZ30n0tI0IzGNC
WaLkpwImtdEXHG4T0w4S2YxNFanPdTj7kK7sQAD5t
/JetMck4MYzl4hi8TJfNtPhS1B2RrySb544733r2Nsy8O
m0j/FFR3NJU=</X509Certificate></X509Data></K
eyInfo></Signature></ns3:ConsultarNfseEnvio></
arg1></ns1:ConsultarNfseV3></soap:Body></soa
p:Envelope>

Voltar ao Topo Ir em baixo
 
Erro ao Consultar NFSe
Voltar ao Topo 
Página 1 de 1
 Tópicos similares
-
» erro com projeção esquisito.....
» Erro no post
» Erro na descrição
» Erro de código
» Erro no redirecionamento

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