cancel
Showing results for 
Search instead for 
Did you mean: 

Fetch host name and url from the payload

former_member556412
Active Participant
0 Kudos

Hi,

I want to configure my HTTP reciever channel, but i need the details to be fetched from payload.

The details are like Target Host ,URL etc.

Any help is appreciated.

Regards,

Bhanu.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member556412
Active Participant
0 Kudos

Thanks for the response.

martin_dejl2
Participant
0 Kudos

Hi Nanduri,

Mark is right but it's usable only on PI 7.1 or higher I think. If you have version 7.0 you can try to use ASMA as it is described [here|http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm].

Read part "Adapter-Specific Message Attributes". It should help you.

Regards,

Martin

markangelo_dihiansan
Active Contributor
0 Kudos

Hello

I want to configure my HTTP reciever channel, but i need the details to be fetched from payload.

Since your URL is dynamic and there is a chance that the protocol is https, it is better to use SOAP Receiver Adapter instead.

Make sure that you check Do not use SOAP Envelope to make it behave like a Plain HTTP Receiver.

http://help.sap.com/saphelp_nwpi71/helpdata/EN/29/5bd93f130f9215e10000000a155106/frameset.htm

From the link, URL is TServerLocation, etc... Use dynamic configuration via UDF to fulfill your requirements.

Hope this helps,

Mark