cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP_AAE Receiver channel error - Error sending HTTP request.- Message processing failed

Bhargavakrishna
Active Contributor
0 Kudos

Hi Team,

We are using parameterised java mapping and performing HTTP_AAE channel lookup (To post request and get the response back).

We are passing Business system name and channel name in the parameters tab and executing the operation mapping. Immediately the channel goes into error status.

Error Details:

Error Occurred, Caused By: com.sap.aii.adapter.http.api.HttpAdapter.exception: Error sending HTTP request.- Message processing failed.

Reason:Caught com.sap.httpclient.exception.ProtocolException: Data is not repeatable

We have created HTTP destination for this web-service in nwa and pinged the destination and received HTTP 405 response. Pinged the destination from telnet and could see successful connectivity.

We have referred the below SAP notes, but it didn't helped us to resolve the issue.

1) 2555934 - Error Message failed due to Bad Certificate. Data is not repeatable in HTTP_AAE receiver channel

2) 2078273 - Improper setting of content-type at HTTP_AAE receiver side using HTTP header

It says, that in the http-adapter the content-type has to be specified in “Header-Fields” and if there is nothing specified, it will be handled as “content-type=application/xml” as default.

Also tried the following options for setting content type

1) Specify content details option in HTTP_AAE receiver channel

We have option in HTTP_AAE receiver to set the content type in PO 7.5 and this option can be used for character set and the content type details of the main payload.

2) Used message transformation in the module parameter.

3) set the content type in the header field and triggered the message again and could see the issue still persist.

XPI trace Error:

Caused by: com.sap.aii.af.service.api.AFException: XI AF API call failed. Module exception: (No information available). Cause Exception: 'ERROR_SENDING_HTTP_REQUEST-Message Processing Failed. Reason : java.net.SocketException: Connection reset'.

Please help me to resolve the issue.

Regards

Bhargava Krishna

Accepted Solutions (0)

Answers (1)

Answers (1)

manoj_khavatkopp
Active Contributor
0 Kudos

Hi Bhargav,

Have to tried to enable the trace for your HTTP_AAE adapter as mentioned in below note , that would help to check in detalied.

2157425 – New Feature: Client side HTTP Tracing for HTTP_AAE adapter

Thanks.

Manoj