cancel
Showing results for 
Search instead for 
Did you mean: 

Nfe 3.10 Outbound interface issue for espirito sant [ES]

Bhargavakrishna
Active Contributor
0 Kudos

Hello Gurus,

Business scenario

We are developing Nfe 3.10 - outbound interfaces for espirito santo [ES] region.

As we use RS state to approve ES state,we have used the SEFAZ URL's specified in the below link

http://internet.sefaz.es.gov.br/informacoes/nfe/links_transmissao.php

We have used the below SEFAZ SOAP action URL's in the SOAP Receiver communication channel.

S.noURL
1https://nfe-homologacao.svrs.rs.gov.br/ws/NfeAutorizacao/NFeAutorizacao.asmx
2https://nfe-homologacao.svrs.rs.gov.br/ws/NfeRetAutorizacao/NFeRetAutorizacao.asmx
3https://nfe-homologacao.svrs.rs.gov.br/ws/nfeinutilizacao/nfeinutilizacao2.asmx
4https://nfe-homologacao.svrs.rs.gov.br/ws/NfeConsulta/NfeConsulta2.asmx
5https://nfe-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico2.asmx
6https://nfe-homologacao.svrs.rs.gov.br/ws/recepcaoevento/recepcaoevento.asmx
7https://app.sefaz.es.gov.br/ConsultaCadastroService/CadConsultaCadastro2.asmx


S.noSOAP Action
1http://www.portalfiscal.inf.br/nfe/wsdl/NfeCancelamento2
2http://www.portalfiscal.inf.br/nfe/wsdl/NfeRetAutorizacao
3http://www.portalfiscal.inf.br/nfe/wsdl/NfeAutorizacao
4http://www.portalfiscal.inf.br/nfe/wsdl/NfeConsulta2
5http://www.portalfiscal.inf.br/nfe/wsdl/NfeStatusServico2
6http://www.portalfiscal.inf.br/nfe/wsdl/RecepcaoEvento
7http://www.portalfiscal.inf.br/nfe/wsdl/CadConsultaCadastro

When we are testing the interfaces we are getting the error "Server  did not recognize the value of HTTP Header SOAP Action"

Please refer the above SEFAZ URL's and the corresponding SOAP Actions and confirm whether these URL's and SOAP actions are correct?


Apart from the SAP PI IC configuration what are the pre-requisites / Tasks to be perfromed to set-up new region.


I referred the below blogs, but could not able to find the enough information to fix this issue.


Discrepância dos SOAPActions NF-e 3.10 | SCN


Soap Action NFe 3.10 | SCN


SRVSC - SOAP HTTP 403 Forbidden | SCN


SAP NFE - Business Process Expert [Read-only] - SCN Wiki


Please send your valuable inputs to fix this issue.


Thanks in advance.


Regards

Bhargava Krishna

Accepted Solutions (1)

Accepted Solutions (1)

former_member182503
Active Contributor
0 Kudos

Hello Bhargava,

Your endpoints and soap actions are OK. Maybe your channel configuration is not correct, mainly because for NF-e interfaces, the communication is done using SOAP 1.2 and the SOAP envelope is built directly in the Mapping, not by the channel. Please check if your channel has "Do Not Use SOAP Envelope" checked.

Here is an example of the CC for SRVSC* interface for SEFAZ SVRS:

Please notice that you can create the channels to the government using the CC Templates, as it make your like a lot easier and avoid issues caused by typos.

If you are using ICO, use the following templates on your CC, based on the interface:

  • BATCH_AEX_GOV_008_SOAP_RCV_TMPL
  • BATCH_ZIP_AEX_GOV_008_SOAP_RCV_TMPL
  • BATSR_AEX_GOV_008_SOAP_RCV_TMPL
  • EVENT_AEX_GOV_008_SOAP_RCV_TMPL
  • GOV_008_SOAP_RCV_TMPL (This one you should use for SRVSC interface, that is fully synchronous)
  • NFEDL_AEX_GOV_008_SOAP_RCV_TMPL
  • NFESC_AEX_GOV_008_SOAP_RCV_BA_TMPL
  • NFESC_AEX_GOV_008_SOAP_RCV_TMPL
  • SKIPR_AEX_GOV_008_SOAP_RCV_TMPL

If you are not using ICO, then use the template GOV_008_SOAP_RCV_TMPL.


PS: You can use the Integration Scenarios to perform the configuration, as they'll save you a lot of time.


+info on NF-e on AEX: PI Configuration for AEX (Java-only Single Stack) - SAP Electronic Invoicing for Brazil (SAP Nota Fi...


Regards,

JN

Bhargavakrishna
Active Contributor
0 Kudos

Hi JN,

We are on SAP PI 7.0 and not using ICO's and used the same configuration as specified by you in the communication channels, please refer the below screenshots.

We are developing Nfe interfaces for new region ES, we do have other regions and did the same configuration.

Regards

Bhargava Krishna

former_member182503
Active Contributor
0 Kudos

Bhargava,

Your channel is pointing to one service endpoint and using the SOAP Action of a different service.

The channel in the screenshots above is related to service SRVSC, so the endpoint is:

https://nfe-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico2.asmx

The SOAP action for this endpoint should be:

http://www.portalfiscal.inf.br/nfe/wsdl/NfeStatusServico2/nfeStatusServicoNF2

Regards,

JN

Bhargavakrishna
Active Contributor
0 Kudos

Hello  JN,

I believe, we use RS state to approve ES state, Nfe's right?

Correct me if i'm wrong?

Even i have tried with the below URL also, but still facing the same issue.

https://nfe-homologacao.svrs.rs.gov.br/ws/NfeStatusServico/NfeStatusServico2.asmx

And SOAP action " http://www.portalfiscal.inf.br/nfe/wsdl/NfeStatusServico2 "

Regards

Bhargava Krishna

former_member182503
Active Contributor
0 Kudos

Bhargava,

the correct SOAP action for the given endpoint is: http://www.portalfiscal.inf.br/nfe/wsdl/NfeStatusServico2/nfeStatusServicoNF2

It is simple: use the correct endpoint/SOAP action combination and the error "Server  did not recognize the value of HTTP Header SOAP Action" is gone.


Regards,

JN

Bhargavakrishna
Active Contributor
0 Kudos

Hello JN,

I have configured the above SOAP action and it is working fine now..

Thank you very much

Can you please provide SOAP actions for the other interfaces like Batch, batch request, Events, Skipping request and Nfe Status check?

Thanks in advance

Regards

Bhargava Krishna

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Bhargava ,

1.Go to SMICM-> HTTP Port is active or inactive ..

2.We are calling URL's are working from your server check on this

3.Test once ID part too

Regards,

Azmath.

Bhargavakrishna
Active Contributor
0 Kudos

Hi Shaik,

All the ports are active and URL's are working fine,we have tested with SOAP UI.

Rechecked the ID configuration as well, it is fine.

Regards

Bhargava Krishna

Muniyappan
Active Contributor
0 Kudos

could you please paste the channel configuration here?