From a8e444854f4d4e4c0f6f7f958689fb548ea17d24 Mon Sep 17 00:00:00 2001 From: Lucas Moraes Date: Thu, 16 Nov 2023 15:51:19 -0300 Subject: [PATCH 1/7] =?UTF-8?q?Colocar=20codifica=C3=A7=C3=A3o=20do=20reto?= =?UTF-8?q?rno=20do=20SOAP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/OpenAC.Net.NFSe/OpenAC.Net.NFSe.csproj | 6 +++--- src/OpenAC.Net.NFSe/Providers/NFSeHttpServiceClient.cs | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/OpenAC.Net.NFSe/OpenAC.Net.NFSe.csproj b/src/OpenAC.Net.NFSe/OpenAC.Net.NFSe.csproj index 09c2f4d4..ebb8f536 100644 --- a/src/OpenAC.Net.NFSe/OpenAC.Net.NFSe.csproj +++ b/src/OpenAC.Net.NFSe/OpenAC.Net.NFSe.csproj @@ -19,9 +19,9 @@ LICENSE README.md pt-BR - 1.5.0.0 - 1.5.0.0 - 1.5.0.0 + 1.5.12.7 + 1.5.12.7 + 1.5.12.7 true true embedded diff --git a/src/OpenAC.Net.NFSe/Providers/NFSeHttpServiceClient.cs b/src/OpenAC.Net.NFSe/Providers/NFSeHttpServiceClient.cs index 2a3a9b52..cb5c8022 100644 --- a/src/OpenAC.Net.NFSe/Providers/NFSeHttpServiceClient.cs +++ b/src/OpenAC.Net.NFSe/Providers/NFSeHttpServiceClient.cs @@ -218,7 +218,9 @@ protected void Execute(HttpContent content, HttpMethod method) //response.EnsureSuccessStatusCode(); - EnvelopeRetorno = response.Content.ReadAsStringAsync().GetAwaiter().GetResult(); + var byteArray = response.Content.ReadAsByteArrayAsync().GetAwaiter().GetResult(); + EnvelopeRetorno = Encoding.UTF8.GetString(byteArray, 0, byteArray.Length); + //EnvelopeRetorno = response.Content.ReadAsStringAsync().GetAwaiter().GetResult(); GravarEnvio(EnvelopeRetorno, $"{DateTime.Now:yyyyMMddssfff}_{PrefixoResposta}_retorno.xml"); client.Dispose(); From 2d385307222a917d32f89fca0387b0f1b0d5b417 Mon Sep 17 00:00:00 2001 From: Lucas Moraes Date: Thu, 16 Nov 2023 16:45:16 -0300 Subject: [PATCH 2/7] =?UTF-8?q?Voltar=20a=20condifica=C3=A7=C3=A3o=20do=20?= =?UTF-8?q?SOAP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/OpenAC.Net.NFSe/OpenAC.Net.NFSe.csproj | 6 +++--- src/OpenAC.Net.NFSe/Providers/NFSeHttpServiceClient.cs | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/OpenAC.Net.NFSe/OpenAC.Net.NFSe.csproj b/src/OpenAC.Net.NFSe/OpenAC.Net.NFSe.csproj index ebb8f536..f676d33f 100644 --- a/src/OpenAC.Net.NFSe/OpenAC.Net.NFSe.csproj +++ b/src/OpenAC.Net.NFSe/OpenAC.Net.NFSe.csproj @@ -19,9 +19,9 @@ LICENSE README.md pt-BR - 1.5.12.7 - 1.5.12.7 - 1.5.12.7 + 1.5.12.10 + 1.5.12.10 + 1.5.12.10 true true embedded diff --git a/src/OpenAC.Net.NFSe/Providers/NFSeHttpServiceClient.cs b/src/OpenAC.Net.NFSe/Providers/NFSeHttpServiceClient.cs index cb5c8022..2a3a9b52 100644 --- a/src/OpenAC.Net.NFSe/Providers/NFSeHttpServiceClient.cs +++ b/src/OpenAC.Net.NFSe/Providers/NFSeHttpServiceClient.cs @@ -218,9 +218,7 @@ protected void Execute(HttpContent content, HttpMethod method) //response.EnsureSuccessStatusCode(); - var byteArray = response.Content.ReadAsByteArrayAsync().GetAwaiter().GetResult(); - EnvelopeRetorno = Encoding.UTF8.GetString(byteArray, 0, byteArray.Length); - //EnvelopeRetorno = response.Content.ReadAsStringAsync().GetAwaiter().GetResult(); + EnvelopeRetorno = response.Content.ReadAsStringAsync().GetAwaiter().GetResult(); GravarEnvio(EnvelopeRetorno, $"{DateTime.Now:yyyyMMddssfff}_{PrefixoResposta}_retorno.xml"); client.Dispose(); From 4265de86c4d842a7bde137ca527c116f0a143d22 Mon Sep 17 00:00:00 2001 From: Lucas Moraes Date: Fri, 5 Jan 2024 16:33:21 -0300 Subject: [PATCH 3/7] =?UTF-8?q?Acrescentar=20Munic=C3=ADpio=20de=20Jabotic?= =?UTF-8?q?abal=20para=20n=C3=A3o=20colocar=20a=20tags=20DescontoIncondici?= =?UTF-8?q?onado=20e=20DescontoCondicionado?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/OpenAC.Net.NFSe/Providers/Ginfes/ProviderGinfes.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/OpenAC.Net.NFSe/Providers/Ginfes/ProviderGinfes.cs b/src/OpenAC.Net.NFSe/Providers/Ginfes/ProviderGinfes.cs index aabad42c..240940df 100644 --- a/src/OpenAC.Net.NFSe/Providers/Ginfes/ProviderGinfes.cs +++ b/src/OpenAC.Net.NFSe/Providers/Ginfes/ProviderGinfes.cs @@ -1159,7 +1159,8 @@ private string GetXmlRps(NotaServico nota, bool identado, bool showDeclaration, //Algumas prefeituras não permitem estas TAGs if (!Municipio.Codigo.IsIn(2704302, // Maceió/AL 3503208, // Araraquara/SP - 3510401 // Capivari/SP + 3510401, // Capivari/SP + 3524303 // Jaboticabal/SP )) { valores.AddChild(AdicionarTag(TipoCampo.De2, "", "DescontoIncondicionado", ns, 1, 15, Ocorrencia.Obrigatoria, nota.Servico.Valores.DescontoIncondicionado)); From 4504c2fe63f999a6aa77aba36ebeb411826ad8e4 Mon Sep 17 00:00:00 2001 From: Lucas Moraes Date: Fri, 5 Jan 2024 16:46:52 -0300 Subject: [PATCH 4/7] =?UTF-8?q?Atualizar=20vers=C3=A3o=20do=20Nuget?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/OpenAC.Net.NFSe/OpenAC.Net.NFSe.csproj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/OpenAC.Net.NFSe/OpenAC.Net.NFSe.csproj b/src/OpenAC.Net.NFSe/OpenAC.Net.NFSe.csproj index f676d33f..b107748f 100644 --- a/src/OpenAC.Net.NFSe/OpenAC.Net.NFSe.csproj +++ b/src/OpenAC.Net.NFSe/OpenAC.Net.NFSe.csproj @@ -19,9 +19,9 @@ LICENSE README.md pt-BR - 1.5.12.10 - 1.5.12.10 - 1.5.12.10 + 1.5.12.11 + 1.5.12.11 + 1.5.12.11 true true embedded From 59d0e758bd6ceba0e541697e8972e544818c18a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Let=C3=ADcia=20Lopes?= Date: Thu, 28 Mar 2024 14:39:06 -0300 Subject: [PATCH 5/7] ajuste caminho webservice fiorilli jau --- src/OpenAC.Net.NFSe/Resources/Municipios.nfse | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/OpenAC.Net.NFSe/Resources/Municipios.nfse b/src/OpenAC.Net.NFSe/Resources/Municipios.nfse index 13933038..c477e255 100644 --- a/src/OpenAC.Net.NFSe/Resources/Municipios.nfse +++ b/src/OpenAC.Net.NFSe/Resources/Municipios.nfse @@ -7297,43 +7297,43 @@ Enviar - http://179.174.56.79:8090/IssWeb-ejb/IssWebWS/IssWebWS?wsdl + http://servicos.jau.sp.gov.br:8090/IssWeb-ejb/IssWebWS/IssWebWS?wsdl EnviarSincrono - http://179.174.56.79:8090/IssWeb-ejb/IssWebWS/IssWebWS?wsdl + http://servicos.jau.sp.gov.br:8090/IssWeb-ejb/IssWebWS/IssWebWS?wsdl CancelarNFSe - http://179.174.56.79:8090/IssWeb-ejb/IssWebWS/IssWebWS?wsdl + http://servicos.jau.sp.gov.br:8090/IssWeb-ejb/IssWebWS/IssWebWS?wsdl CancelarNFSeLote - http://179.174.56.79:8090/IssWeb-ejb/IssWebWS/IssWebWS?wsdl + http://servicos.jau.sp.gov.br:8090/IssWeb-ejb/IssWebWS/IssWebWS?wsdl ConsultarNFSe - http://179.174.56.79:8090/IssWeb-ejb/IssWebWS/IssWebWS?wsdl + http://servicos.jau.sp.gov.br:8090/IssWeb-ejb/IssWebWS/IssWebWS?wsdl ConsultarNFSeRps - http://179.174.56.79:8090/IssWeb-ejb/IssWebWS/IssWebWS?wsdl + http://servicos.jau.sp.gov.br:8090/IssWeb-ejb/IssWebWS/IssWebWS?wsdl ConsultarLoteRps - http://179.174.56.79:8090/IssWeb-ejb/IssWebWS/IssWebWS?wsdl + http://servicos.jau.sp.gov.br:8090/IssWeb-ejb/IssWebWS/IssWebWS?wsdl ConsultarSituacao - http://179.174.56.79:8090/IssWeb-ejb/IssWebWS/IssWebWS?wsdl + http://servicos.jau.sp.gov.br:8090/IssWeb-ejb/IssWebWS/IssWebWS?wsdl ConsultarSequencialRps - http://179.174.56.79:8090/IssWeb-ejb/IssWebWS/IssWebWS?wsdl + http://servicos.jau.sp.gov.br:8090/IssWeb-ejb/IssWebWS/IssWebWS?wsdl SubstituirNFSe - http://179.174.56.79:8090/IssWeb-ejb/IssWebWS/IssWebWS?wsdl + http://servicos.jau.sp.gov.br:8090/IssWeb-ejb/IssWebWS/IssWebWS?wsdl Autenticacao From 0202652c5fb8ebc24616d36b773aee8eb8d16db4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Let=C3=ADcia=20Lopes?= Date: Thu, 28 Mar 2024 14:39:58 -0300 Subject: [PATCH 6/7] =?UTF-8?q?troquei=20vers=C3=A3o=20do=20assembly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/OpenAC.Net.NFSe/OpenAC.Net.NFSe.csproj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenAC.Net.NFSe/OpenAC.Net.NFSe.csproj b/src/OpenAC.Net.NFSe/OpenAC.Net.NFSe.csproj index b107748f..10f6c4de 100644 --- a/src/OpenAC.Net.NFSe/OpenAC.Net.NFSe.csproj +++ b/src/OpenAC.Net.NFSe/OpenAC.Net.NFSe.csproj @@ -19,8 +19,8 @@ LICENSE README.md pt-BR - 1.5.12.11 - 1.5.12.11 + 1.5.12.12 + 1.5.12.12 1.5.12.11 true true From 768f90502f289ba5a290dfa40bdb21738ba38580 Mon Sep 17 00:00:00 2001 From: Lucas Moraes Date: Fri, 14 Jun 2024 16:15:01 -0300 Subject: [PATCH 7/7] =?UTF-8?q?Alterar=20Endere=C3=A7o=20Webservice=20de?= =?UTF-8?q?=20Botucatu=20para=20Fiorilli?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/OpenAC.Net.NFSe/Resources/Municipios.nfse | 34 +++++++++++++------ 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/src/OpenAC.Net.NFSe/Resources/Municipios.nfse b/src/OpenAC.Net.NFSe/Resources/Municipios.nfse index 739409b4..14c89550 100644 --- a/src/OpenAC.Net.NFSe/Resources/Municipios.nfse +++ b/src/OpenAC.Net.NFSe/Resources/Municipios.nfse @@ -1614,82 +1614,94 @@ 0 Botucatu SP - Sigep + Fiorilli + 2.01 Enviar + http://fi1.fiorilli.com.br:5663/IssWeb-ejb/IssWebWS/IssWebWS?wsdl EnviarSincrono + http://fi1.fiorilli.com.br:5663/IssWeb-ejb/IssWebWS/IssWebWS?wsdl CancelarNFSe + http://fi1.fiorilli.com.br:5663/IssWeb-ejb/IssWebWS/IssWebWS?wsdl CancelarNFSeLote + http://fi1.fiorilli.com.br:5663/IssWeb-ejb/IssWebWS/IssWebWS?wsdl ConsultarNFSe + http://fi1.fiorilli.com.br:5663/IssWeb-ejb/IssWebWS/IssWebWS?wsdl ConsultarNFSeRps + http://fi1.fiorilli.com.br:5663/IssWeb-ejb/IssWebWS/IssWebWS?wsdl ConsultarLoteRps + http://fi1.fiorilli.com.br:5663/IssWeb-ejb/IssWebWS/IssWebWS?wsdl ConsultarSituacao + http://fi1.fiorilli.com.br:5663/IssWeb-ejb/IssWebWS/IssWebWS?wsdl ConsultarSequencialRps + http://fi1.fiorilli.com.br:5663/IssWeb-ejb/IssWebWS/IssWebWS?wsdl SubstituirNFSe + http://fi1.fiorilli.com.br:5663/IssWeb-ejb/IssWebWS/IssWebWS?wsdl Autenticacao + http://fi1.fiorilli.com.br:5663/IssWeb-ejb/IssWebWS/IssWebWS?wsdl Enviar - https://botucatu.bsit-br.com.br/integracao/services/nfseWS?wsdl + http://143.137.254.12:8089/IssWeb-ejb/IssWebWS/IssWebWS?wsdl EnviarSincrono - https://botucatu.bsit-br.com.br/integracao/services/nfseWS?wsdl + http://143.137.254.12:8089/IssWeb-ejb/IssWebWS/IssWebWS?wsdl CancelarNFSe - https://botucatu.bsit-br.com.br/integracao/services/nfseWS?wsdl + http://143.137.254.12:8089/IssWeb-ejb/IssWebWS/IssWebWS?wsdl CancelarNFSeLote - https://botucatu.bsit-br.com.br/integracao/services/nfseWS?wsdl + http://143.137.254.12:8089/IssWeb-ejb/IssWebWS/IssWebWS?wsdl ConsultarNFSe - https://botucatu.bsit-br.com.br/integracao/services/nfseWS?wsdl + http://143.137.254.12:8089/IssWeb-ejb/IssWebWS/IssWebWS?wsdl ConsultarNFSeRps - https://botucatu.bsit-br.com.br/integracao/services/nfseWS?wsdl + http://143.137.254.12:8089/IssWeb-ejb/IssWebWS/IssWebWS?wsdl ConsultarLoteRps - https://botucatu.bsit-br.com.br/integracao/services/nfseWS?wsdl + http://143.137.254.12:8089/IssWeb-ejb/IssWebWS/IssWebWS?wsdl ConsultarSituacao - https://botucatu.bsit-br.com.br/integracao/services/nfseWS?wsdl + http://143.137.254.12:8089/IssWeb-ejb/IssWebWS/IssWebWS?wsdl ConsultarSequencialRps - https://botucatu.bsit-br.com.br/integracao/services/nfseWS?wsdl + http://143.137.254.12:8089/IssWeb-ejb/IssWebWS/IssWebWS?wsdl SubstituirNFSe - https://botucatu.bsit-br.com.br/integracao/services/nfseWS?wsdl + http://143.137.254.12:8089/IssWeb-ejb/IssWebWS/IssWebWS?wsdl Autenticacao