cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP Receiver adapter with post

Former Member
0 Kudos

Hello,

I have following scenario.

XI (http receiver adapater) -


> 3rd party web based application.

The 3rd party application expects XI payload to be part of URL with POST Method.

When HTTP receiver adapter sends request to 3rd party application, the URL looks like as follows.

http://myserver:6789/myapplication/name1=value1&name2=value2&.....&name27=value27

I looked at HTTP receiver adpater document on SDN. I see some attributes such as headerfiled1, headerfiled2..... headerfield6 and urlfield1....urlfield6. I have about over 25 fields to be passed with URL.

Now I have following questions.

1. How to make XI payload as name value pairs and part of URL.?

2. I think the default for http adapater is GET, How to configure http adaper to use POST?

I appreciate your help.

Thank you,

Balaji

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi Balaji,

I m facing the same issue..

Can u please tell how did u resolve that issue.

Thanks

Jaideep Jain.

Former Member
0 Kudos

This message was moderated.

stefan_grube
Active Contributor
0 Kudos

> 1. How to make XI payload as name value pairs and part of URL.?

You should create the whole URL in a user defined function in mapping.

> 2. I think the default for http adapater is GET, How to configure http adaper to use POST?

HTTP adapter (and SOAP adapter) use HTTP POST. GET is not supported.

Regards

Stefan

Former Member
0 Kudos

Hi Stefan,

Can you please explain.

I have to pass two fields as a query string through http post using the http receiver adapter.

Thanks.

Krishnan