Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Kind Regards

Former Member
Former Member replied

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

http://help.sap.com/saphelp_nwpi71/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/frameset.htm

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.
The technical

names of the fields are URLParamOne,
…, URLParamSix
.

Thank you all for you time. I hope this helps others.

Kind regards

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question