Skip to Content
0
Jun 02, 2011 at 01:04 PM

Problemas HTTP 403 - SRVSC_SOAP_RCV

1251 Views

Bom dia,

Estou fazendo o desenvolvimento de um novo projeto NFE GRC 2.0, procurei soluções para esse problema, porem nada funcionou e gostaria de saber se vocês podem me ajudar.

Criei o canal com todas as informações necessárias e corretas:

Target url: https://nfe.sefaz.rs.gov.br/ws/NfeStatusServico/NfeStatusServico2.asmx

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

Flag "Do Not Use SOAP Envelope" marcada

Module:

localejbs/AF_Modules/MessageTransformBean - Local Enterprise Bean - transformToGov

sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean - Local Enterprise Bean - soap

localejbs/AF_Modules/MessageTransformBean - Local Enterprise Bean - transformFromGov

Module Configuration:

transformToGov - Transform.ContentType - application/soap+xml; charset=utf-8

transformFromGov - Transform.ContentType - text/xml; charset=utf-8

Segui o doc GovRel006_ConfGuide_Attachment a risca.

O problema é que ocorre o erro:

com.sap.aii.af.ra.ms.api.DeliveryException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error

Analisando o RWB, aba audit log, tenho o seguinte cronograma de informação:

Success Message successfully received by messaging system. Profile: XI URL: http://ipigrcdev:50000/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER

Success Using connection SOAP_http://sap.com/xi/XI/System. Trying to put the message into the request queue.

Success Message successfully put into the queue.

Success The message was successfully retrieved from the request queue.

Success The message status set to DLNG.

Success Delivering to channel: SRVSC_SOAP_RCV

Success MP: Entering module processor

Success MP: Processing local module localejbs/AF_Modules/MessageTransformBean

Success Transform: using Transform.Class: $identity

Success Transform: transforming the payload ...

Success Transform: successfully transformed

Success MP: Processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean

Success SOAP: request message entering the adapter with user J2EE_GUEST

Success SOAP: completed the processing

Success SOAP: continuing to response message 1bccc871-8d15-11e0-998d-00155d0a2700

Error SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 403 Forbidden

Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 403 Forbidden

Error Exception caught by adapter framework: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 403 Forbidden

Error Delivery of the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 403 Forbidden. Setting message to status failed.

Error The message status set to FAIL.

Error Returning synchronous error message to calling application: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 403 Forbidden.

Tentei reimportar o certificado, refazer o channel, refazer o cenário, limpeza de cache, reiniciar a máquina...

Um ponto importante, que não sei se é importante, é que a empresa tem um firewall bem forte, porem no channel configurei o proxy para liberação. É necessário liberar mais alguma coisa?

Se tiverem alguma ajuda, seria muito bom!

Obrigado!