Jump to content

dev botao

  • Este tópico foi criado há 2690 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Recommended Posts

Posted

Bom dia pessoal

   Ao executar o comando   ACBrNFe1.DistribuicaoDFe(StrToInt(cUFAutor),CNPJ,ultNSU,ANSU);

  O Servidor Retorna a um erro: 

---------------------------
Rejeicao: Falha no esquema xml.
---------------------------
  Já atualizei os fontes, inclusive os Schemas e nada, o servidor está comunicando normalmente. 

 

  ACBrNFe1.WebServices.StatusServico.Executar;
  ShowMessage('Web Service status ->  ' + ACBrNFe1.WebServices.StatusServico.Msg);

  DmNF.NFe.Configuracoes.Geral.SSLLib        := libWinCrypt;
  DmNF.NFe.Configuracoes.Geral.SSLCryptLib   := cryWinCrypt;
  DmNF.NFe.Configuracoes.Geral.SSLHttpLib    := httpWinINet;
  DmNF.NFe.Configuracoes.Geral.SSLXmlSignLib := xsMsXml;

  ACBrNFe1.DistribuicaoDFe(StrToInt(cUFAutor),CNPJ,ultNSU,ANSU);

  memo1.Lines.Text := ACBrNFe1.WebServices.DistribuicaoDFe.RetWS;
  memo2.Lines.Text := ACBrNFe1.WebServices.DistribuicaoDFe.RetornoWS;

//  LoadXML(ACBrNFe1.WebServices.DistribuicaoDFe.RetWS, WBResposta);

  DmNF.NFe.Free;
 

 

  • Moderadores
Posted
22 horas atrás, Cleber Vicente Silva disse:

  Já atualizei os fontes, inclusive os Schemas e nada, o servidor está comunicando normalmente. 

Cuidado pra não colocar Schemas de CTe e MDFe na mesma pasta dos de NFe pois eles têm o mesmo método DistribuicaoDFe mas Schemas diferentes. 

Veja se é o seu caso.

Equipe ACBr BigWings
Ajude o Projeto ACBr crescer - Assine o SAC

Projeto ACBr

 

 

  • Este tópico foi criado há 2690 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

The popup will be closed in 10 seconds...