Skip to content

Commit

Permalink
fix: ajuste mdf-e método sinc para ficar igual o assincrono, para não…
Browse files Browse the repository at this point in the history
… quebrar sistemas que já utilizavam
  • Loading branch information
robertorp authored Sep 19, 2024
1 parent 3939cbe commit 7ea5d0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions MDFe.Servicos/RecepcaoMDFe/ServicoMDFeRecepcao.cs
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ public MDFeRetMDFe MDFeRecepcaoSinc(MDFeEletronico mdfe)
mdfe.SalvarXmlEmDisco();

var webService = WsdlFactory.CriaWsdlMDFeRecepcaoSinc();

OnAntesDeEnviar(enviMDFe);

Check failure on line 107 in MDFe.Servicos/RecepcaoMDFe/ServicoMDFeRecepcao.cs

View workflow job for this annotation

GitHub Actions / build (windows-2022)

The name 'enviMDFe' does not exist in the current context

Check failure on line 107 in MDFe.Servicos/RecepcaoMDFe/ServicoMDFeRecepcao.cs

View workflow job for this annotation

GitHub Actions / build (windows-2022)

The name 'enviMDFe' does not exist in the current context

Check failure on line 107 in MDFe.Servicos/RecepcaoMDFe/ServicoMDFeRecepcao.cs

View workflow job for this annotation

GitHub Actions / build (windows-2022)

The name 'enviMDFe' does not exist in the current context

Check failure on line 107 in MDFe.Servicos/RecepcaoMDFe/ServicoMDFeRecepcao.cs

View workflow job for this annotation

GitHub Actions / build (windows-2022)

The name 'enviMDFe' does not exist in the current context

Check failure on line 107 in MDFe.Servicos/RecepcaoMDFe/ServicoMDFeRecepcao.cs

View workflow job for this annotation

GitHub Actions / build (windows-2022)

The name 'enviMDFe' does not exist in the current context

Check failure on line 107 in MDFe.Servicos/RecepcaoMDFe/ServicoMDFeRecepcao.cs

View workflow job for this annotation

GitHub Actions / build (windows-2022)

The name 'enviMDFe' does not exist in the current context

var retornoXml = webService.mdfeRecepcao(mdfe.CriaXmlRequestWs());

var retorno = MDFeRetMDFe.LoadXml(retornoXml.OuterXml, mdfe);
Expand Down

0 comments on commit 7ea5d0d

Please sign in to comment.