on 02-04-2013 1:06 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.