Skip to Content
0

ECC(Outbound)-PI-Oanda integration

Jan 31, 2017 at 02:46 PM

89

avatar image

Hi,

We want to do integration with Oanda using PI to get currency rates in ECC. So our scenario is ECC-PI-Oanda synchronous call. Can someone please guide me how we can achieve this scenario. It would be great if someone can provide step by step steps. We are on PI 7.3 SP 18 Server so we can get REST adapter in our PI box but not sure what should be the approach.

Please guide

Regards

Sikha

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Raghuraman S Feb 01, 2017 at 04:27 AM
0

Hello Sikha,

You can do proxy--->PI--->WS scenario.

If am not wrong Oanda requires login and key to access in that case you use a java mapping.

Instead if you wish to pull the rates without a sync call you can use Rest or Axis,In that case scenario will be

Rest/Axis----->PI--->Proxy

Share
10 |10000 characters needed characters left characters exceeded
Supriya Parab Feb 01, 2017 at 10:20 AM
0

Hi Sikha,

I have worked on Oanda integration on my previous project and there I had used SOAP-Axis adapter to fetch currency rates from Oanda service. So your scenario would be: SOAP-Axis --> PI --> Proxy.

You can create a required URL based on the currencies for which you are looking for rates from Oanda, and then use that URL in SOAP-Axis Sender channel. The Oanda service will provide you those currency rates every time channel calls that service. As I recall, this response from Oanda was not in proper xml format, so you may have to use JAVA mapping in PI to get correct XML format and then feed that data to proxy.

Regards, Supriya.

Show 4 Share
10 |10000 characters needed characters left characters exceeded

Hi Supriya,

Actually our requirement is that user will provide with input from ECC i.e currency base rate, Currency to be converted , date etc. and Pi need to fetch the response from Oanda base on there inputs. So in our case we need to develop a proxy to Oanda sync senerio. We have Rest adapter in our PI landscape so I wanted to go with receiver rest adapter to call Oanda. But I am not sure how we should proceed. What will be the request and response structure for Oanda as we don't have WSDL file from them to create structure. Any guidance on this will be greatly appreciated.

Regards

Sikha Kayal

0

Hello Sikha,

Based on the three inputs i.e from,to currencies and date you query using URL and get the output.

You can check the Oanda documentation below

http://developer.oanda.com/exchange-rates-api/v1/rates/#input-query-parameters

0

Thanks Raghu for your quick response.

I have already gone through this but I am not sure where we need to pass the API key in HTTP header or in URL itself. As we are passing inputs in dynamic URL to be created in receiver channel do we need to create request structure for Oanda in ESR. Can you please provide with some screenshots if you have already done integration with Oanda using rest adapter.

Thanks

Sikha

0

Hello sikha,

We have done using normal Soap channel using pull mechanism as Supriya suggested.

For rest you can query using URL also,for structure you can build as mentioned in the link or ask the Oanda team for WSDL if they have any.

0