on 10-10-2014 7:31 PM
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"e=INR"e=EUR"e=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
Hi Gagandeep,
That URL combinations seems to me that you are trying to consume restful services, am i right?
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Gagandeep,
From my point of view the best approximation is to use the SAP Netweaver Gateway for this purpose, it is a free Netweaver addon and with very easy usage. The problem is that you have only a java stack then you can't use this ABAP addon. There are another alternatives like Advantco adapter but it is not easy to make understand the clients the necessity to purchase another adapter, with the economic factor. Then you have the unique option to try with the SOAP-AXIS adapter, you cant first to read this great Former Member's blog
Finally, we have to wonder that we are using a SOA infrastructure to deal with a Restful infrastructure, from my point of view this is a workaround and in the future this could be problematic.
Hope this helps.
Regards.
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
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) |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gagandeep,
This should be required, but I don't see it in the sap help
Configuring the Java HTTP Adapter on the Receiver Channel - Advanced Adapter Engine - SAP Library
So my guess is that it is not possible.
Regards,
Mark
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.