cancel
Showing results for 
Search instead for 
Did you mean: 

Handling Fault error in HTTP_AAE receiver adapter

former_member199223
Participant
0 Kudos

Hi Expert,

Synchronous scenario with ABAP Proxy to HTTP_AAE receiver communication channel.


Detail scenario:

Our message triggering from SAP ECC via ABAP proxy, which will call the PI HTTP_AAE receiver communication channel external web service call and request and response are coming fine with no issues

Issue:

No able to catch Fault messages, When Fault occurs from external web service call. I am getting the error (com.sap.aii.adapter.http.api.HttpAdapterException: STATUS_CODE_NOT_OK-Internal Server Error( error code - 500) )

Looks like HTTP_AAE adapter giving this STATUS_CODE_NOT_OK-Internal Server Error. Also I am getting the HTTP 500 when I execute external web service in SOAP UI tool if it is fault error


Is there any way enhance HTTP_AAE adapter ?


Please let me know, how to catch the fault error in HTTO_AAE adapter


Regards,

Boopathi M

Accepted Solutions (0)

Answers (1)

Answers (1)

engswee
Active Contributor
0 Kudos

Do you have a fault message defined for both sender and receiver service interface, and a fault message linking them both?

former_member199223
Participant
0 Kudos

Thanks for your reply Eng.

Yes I did define the fault message in sender and receiver service interface with link.

The fault message not reached to operation mapping and service interfaces, it got failed in HTTP_AAE adapter itself.


Is there any suggestion.


Regards,

Boopathi M

engswee
Active Contributor
0 Kudos

Hi Boopathi

Check out Paul Abrahamson's reply in the following thread. Looks like the HTTP_AAE adapter doesn't support HTTP 500 responses as faults yet.

Re: HttpAdapterException: STATUS_CODE_NOT_OK

Any chance that you are on a high enough SP level to use the REST adapter instead?

Rgds

Eng Swee

former_member199223
Participant
0 Kudos

Thank you Eng Swee,

We are currently using SAP PI 7.3 and we can not use REST adapter..

Do you have any idea, can we catch other response codes example 400,401 and 404 with HTTP_AAE adapter

Regards,

Boopathi M

engswee
Active Contributor
0 Kudos

Hi Boopathi

Sorry, I'm not too sure about the other response codes with HTTP_AAE adapter since we are using REST adapter for all our HTTP interfaces. Probably you can try and simulate those response to see how it behaves.

Rgds

Eng Swee

former_member199223
Participant
0 Kudos

Sorry for late reply, I have tried multiple options and I could not able to success. Open a SAP OSS note and waiting for the reply.

Regards,

Boopathi M