cancel
Showing results for 
Search instead for 
Did you mean: 

Error with HTTP_AAE receiver adapter

Former Member
0 Kudos

Hi All,

I have a scenario where i am using HTTP_AAE receiver adapter to send a HTTP POST request to an API.

The request format the API accepts is -

POST API url HTTP/1.1
Host: API Host
Content-Length: 200
Content-Type: application/x-www-form-urlencoded

Field1=value&Field2=value


My mapping output is -

<?xml version="1.0" encoding="UTF-8"?>
<ns0:ReqMessage xmlns:ns0="http://namespace"><request>Field1=value&Field2=value</request></ns0:ReqMessage>

In the channel config i am using Set Form option and using the "request" tag as Main Payload Parameter Name. I am passing static header values in the channel configuration. I am getting - ERROR_SENDING_HTTP_REQUEST,Connection timed out exception. I want to know if the issue is because the HTTP request is not getting formed in a proper way and whether i am using the "Main Payload Parameter Name" in a correct way.

Please provide your inputs on this.

Thanks,

Ashish

Accepted Solutions (0)

Answers (1)

Answers (1)

smavachee
Active Contributor
0 Kudos

Hello Ashish,

Can you put down a screen shot of module details, if any from module tab here for reference.

Recreated the CC as well.

Regards,

Sunil

Former Member
0 Kudos

Hi Sunil,

The issue was with the firewall and now there seems to be some issue with certificates.I am using ssl communication.

The error now is -

Transmitting the message
using connection File_http://sap.com/xi/XI/System failed, due to:
com.sap.aii.adapter.http.api.HttpAdapterException:
ERROR_SENDING_HTTP_REQUEST,sun.security.validator.ValidatorException: PKIX path
building failed: sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target

Please provide suggestions.