Skip to Content
author's profile photo Former Member
Former Member

how to set dynamic query in http sender channel and need to read query values in iflow in HCI

Hi Folks,

I want to call the http sender adapter with dynamic query values as below in which caseNumber is dynamic. will send by soapui asGET request

https://XXXXX-iflmap.hcisbp.us2.hana.ondemand.com:443

with resource as /http//casereadwithhttp?caseNumbers=1234

I want to read that value from input , plz tell me how to read that.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Apr 27, 2017 at 08:20 AM

    Hello ,

    I have tried the same and I am able to get both custom header and dynamic one which you have mentioned.Below might help you

    Screenshot from POSTMAN:

    Run time Configuration:

    Sender Channel Configuration:

    Content Modifier Configuration:

    Output:

    <KeyfromURL>InputValue=1234</KeyfromURL>
    <CustomHeader>Test_SRI</CustomHeader>

    Regards,

    Sriprasad Shivaram Bhat


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 26, 2017 at 06:01 PM

    Hello,

    Please refer below SAP HELP which provides more insight about HTTP adapter.

    HTTP Adapter Help

    Regards,

    Sriprasad Shivaram Bhat

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Sri,

      Thanks for Response..

      But i have already gone through this link but stuck in reading the below headers.

      I am not sure they are coming or not.... can you please tell me how to reads these header

      CamelHttpQuery

  • Posted on Apr 26, 2017 at 06:17 PM

    Hello ,

    I think you can follow below to get the same.

    1) Goto Runtime Configuration and add CamelHttpQuery in Allowed Headers.

    2) Write a script or use content modifier the get the header value.[ ${header.CamelHttpQuery} will return the value ]

    Regards,

    Sriprasad Shivaram Bhat


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.