Skip to Content

Can we Create a Dynamic Path in HTTP_AAE reciver Adapter in PI7.31

Hi Friends

Can we Create a Dynamic Path in HTTP_AAE receiver Adapter in PI7.31

I have to create a following URL Dynamically :

https://www.xyz.com/rates/api/v1/rates/USD.xml?api_key=abc1234&decimal_places=5&date=2014-10-01&fields=all&quote=INR&quote=EUR&quote=CAD

In Above URL

Path is like that:/rates/api/v1/rates/USD.xml

but USD.xml is not fixed it is dynamic based on base currency

so I need t Dyanmic..

Can you please provide help how we can achieve this

Regards

GB

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Oct 10, 2014 at 06:38 PM

    Hi,

    In mapping

    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/HTTP", "UrlParamOne");



    In Receiver HTTP_AEE

    HTTP_AEE(Receiver)-->Parameters tab--->Advanced--->Adapter-specific message properties

    select set adapter-specific message properties and URL Parameters and provide parameter(s) value(s)


    Add comment
    10|10000 characters needed characters exceeded

  • Oct 13, 2014 at 06:02 AM

    Hi Gagandeep,

    That URL combinations seems to me that you are trying to consume restful services, am i right?

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Inaki

      thanks for your help:

      I tried Former Member's blog it's good for me but i stuck at SSL for AXIS adapter I also gone through AXIS FAQ which say's  it will pick autometically but when i tried I giving Error like Connection closed by remote host..

      do we need any spacial setting for SSL in AXIS...

      one more thing when we tried with static URL in channel in https then it gives the right result means SSL is configure properly for https.channel HTTP_AAE but not work for AXIS

      Regards

      Gagan