Skip to Content

HTTP Receiver empty payload URL only

Hi All,

I need to create a URL to call out to Oanda to get exchange rates and the response returns the required data in XML.

Based on the query builder the vendor supplies on the line the URL would be similar to:

The parameters would be built from values passed via XML payload from ECC; I found this discussion that looks like it will help me here.

Is it possible to use the HTTP receiver adapter to send a URL with no body?

If so could someone kindly point me in the right direction as to how to do this and if not what approach should I take?

Thanks in Advance


Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Sep 17, 2014 at 10:07 AM

    Hi Julian,

    which version of PI are you on? Dual Stack or AEX?

    If AEX take a look at the helpfile Configuring the Java HTTP Adapter on the Receiver Channel - Advanced Adapter Engine - SAP Library Figures 18 - 20, may also apply for Dual Stack

    Also you may have a look at this notes:




    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      Adding a few comments:

      BTW using HTTP Post would probably not allow the usage of URL query parameters. I missed that in my previous posts so you probably will want to opt for the solution B

      Interesting, but it should be allowed e.g in an SM59 type H or type G, the query string can be added by pressing save and when the warning comes, just press enter 😊

      Things to consider:

      - There is a limit in dynamic configuration for URL that only allows up to 200 characters in case the full path is too long.

      - If you use SOAP Adapter + ASMA to build the URL, you also need to use TAuthKey for username/password authentication (it is a bug)

      Hope this helps,


  • Sep 18, 2014 at 06:52 AM

    In addition to Jens's suggestion, you can also check the OS command like wget/curl as explained in PI/XI: how to get an XML file from a web page without own development .


    Sunil Chandra

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 23, 2014 at 07:04 AM

    You can use ASMA for your dynamic URL.

    Use mapping and call below UDF for your requirement.

    String URL = "http://server/access/query?svcid=1962021057&username=User&password=Pass&elems=1321&key1="+phoneNumber+"&key1900=none";

    DynamicConfiguration conf = (DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

    DynamicConfigurationKey key= DynamicConfigurationKey.create("","TargetURL");

    1. conf.put(key,URL);

    return "";

    Image 1.png (79.6 kB)
    Image 2.png (11.3 kB)
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 16, 2014 at 09:32 AM

    Hi Julian,

    Just wondering if you had any success with this? We just started looking into the same scenario.

    We are still in PI 7.0.  Were you able to post with empty payload?

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Julian Christian

      Sure, will do that. My timeline is also similar, so looks like we will be working in parallel. Also , we are still at PI 7.0 , so options are limited some what.