Skip to Content
0
Mar 22, 2015 at 02:18 AM

SAP PI REST Adapter OAuth configuration

2899 Views

Hi Experts,

We have recently added SP10 in PI 7.4.

I would like to explore the possible ways to config OAuth in PI REST adapter to consume REST APIs.

Scenario: ECC <--> PI<-->SFDC [REST API]

As per the blog: New adapter in SAP Process Integration for consumption and provisioning of REST based services

the feature is available in SP10 which was released this month beginning.

As part of Proof -Of-Concept, I have chosen SalesForce REST APIs to explore the new PI REST Adapter features.

I have worked previously worked integrating SFDC using SOAP Lookup, SOAP Adapter and Advantco REST Adapter in older versions of PI

If anyone tried using PI REST Adpater to connect cloud based applications, please share some pointers.

OAuth dancing is one of the challenging part in REST APIs.

Basically looking for dynamic HTTP header addition in the through REST adapter like getting token, then dynamic url creation with token access to post subsequent messages and refresh token.

Thanks!

Praveen