HTTP receiver comm channel with dynamic URL parameters?
Hi All, I have already looked at the posts on SDN regarding this topic.
Im using PI 7.1 HTTP Sender >> PI >> HTTP receiver.
On the receiver channel i have selected adapter specific attributes and checked apply URL parameters.
For parameter 1 i have defiend myCustomParam.
In the ESR I have defined a Synch interface (1 inbound + 1 outbound)
In the operation mapping i have a Request Message mapping and a response message mapping
I have defined a UDF where i used dynamic configuration to set "URLParamOne" with value XXXXXX
I used this UDF in the request message mapping.
Here is what PI is posting to the HTTP Servlet
POST /<path defined in ID receiver comm channel> HTTP/1.0
I was expecting
POST /<path defined in ID receiver comm channel>?myCustomParam=XXXXXX HTTP/1.0
Have I missed any thing?
Thanks in advance for your input
Hi All I have found the problem, it was a case sensitive parameter.
I changed URLParamOne to UrlParamOne.
Unfortunatly the SAP documentation is incorrect.
See copy from help.sap.com
12. If you want to use URL parameters, select Use URL Parameters and enter the parameters in the fields
Parameter 1 to Parameter 6.
The parameters are included in the HTTP request under the names specified here.
names of the fields are URLParamOne,
Thank you all for you time. I hope this helps others.