on 04-22-2010 2:28 PM
Hi
I have a case, where I need to pick the two values "customernumber" and "pod" from this URL from a HTTP sender adapter https://xxxxx.xxxx.dk/ServiceName/valider?customernumber=&pod=
and place them in a SOAP request in a SOAP receiver adapter.
What is the best way of doing this?
BR
MIkael
Hi,
Please go through SAP Help Doc LInk:
http://help.sap.com/saphelp_nwpi711/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
Set flag ASMA, Apply URL Parametes in ID.
Give Parameter 1 as customer (names as in URL)
Parameter 2 as pod
Access the values in UDF through configuration key. For Eg: if Parameter 1 then the value can be accessed through field URLParamOne.
I never tried this before but I beleive it should work or throw aome light to you.
Regards,
Vineetha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the response Vineetha
However, I am still not aware of how the response from the back end (my scenarie is sender HTTP with parameters in URL -> RFC receiver (a function module is called on the back end) can be transferred back to the sender in the HTTP response?
How is that done?
Seen from the senders point of view he sends a URL containing two parameters and then he expects to receive a value in the HTTP response. So in other words: how is the response from the function module transferres back to the caller in the HTTP response?
BR
MIkael
In addition, it seems that I have to provide a payload, which adheres to the source message in the message mapping where I via my UDF pick the two parameters from the URL using Dynamic Configuration. In my case however, there is no payload, only the URL containing the two parameters.
So, is there a way of avoiding having to send the payload in my scenario?
MIkael
I recommend to learn something about HTTP protocol first:
http://en.wikipedia.org/wiki/Http
See the difference about HTTP GET and POST and notice, that PI does not support GET.
A SOAP request is always POST, here you have a payload. If you have none, it is not SOAP.
User | Count |
---|---|
85 | |
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.