cancel
Showing results for 
Search instead for 
Did you mean: 

What PI adapters to use b/w RESTful web service API & ECC ??

former_member217888
Participant
0 Kudos

Hi All,

We have a requirement to get currency data from an API which is a RESTful webservice API with following schema:

• The API isa ccessed using the HTTPS protocol.

• The API is accessed from the domain xecdapi.xe.com.

• All data is sent and received in the JSON format by default.You can optionally specify XML or CSV formats instead.

and sent it to a program in ECC which further processes this data using SAP PI 7.3 dual stack SP05.

I have checked out options of using REST or SOAP adapters at Sender side and RFC/SOAP(XI) adapters at receiver side.

Can anyone tell me which PI adapters to use and if possible some steps ?

Any info is appreciated.

Thanks

Neha

Accepted Solutions (1)

Accepted Solutions (1)

former_member186851
Active Contributor
0 Kudos

For sender In case of JSON go ahead with Rest adapter,

In case of XML Soap is best.

And receiver Side use SOAP Adapter with XI protocol.

Answers (4)

Answers (4)

former_member217888
Participant
0 Kudos

Hi All,

For the same scenario, if i am using SOAP as sender adapter with SOAP 1.1 as message protocol then where can i configure the API request URL and give the credentials?

I dont see any imput fields in the channel for the same.

Also, the API is accessed using HTTPS protocol so can we use any other adapter at sender side except SOAP?

Please provide required inputs.

Thanks

Neha Verma

former_member217888
Participant
0 Kudos

Thanks for the replies.

I was wondering is there is any way to use SFTP adapter if API can put the XML file directly there.

This is because error chances are more with SOAP adapter.

Let me know your call on this.

iaki_vila
Active Contributor
0 Kudos

Hi Nehara,

Yes there is a SFTP adapter addon since SAP PI 7.11. Check this link


Regards.

iaki_vila
Active Contributor
0 Kudos

Hi Neha,

My few cents.

SAP Rest Adapter is available as Shabarish said (2032345 - FAQ: PI 7.31 / PI 7.4 REST Adapter for Advanced Adapter Engine ). You can find another Rest adapters for PI, like Advantco one, but it is better to upgrade SAP PI.

Another alternative for Rest adapter it is to install in a Netweaver machine on the ECC or in PI, the SAP Netweaver Gateway ()

As Raghuraman said go on the other case with SOAP adapter, concretely the best scenarios could be SOAP - ABAP Proxy.

Regards,

Shabarish_Nair
Active Contributor
0 Kudos

from 7.3 SP14 onwards, you have the REST adapter available which will help you with this particular requirement. Other option, but that which comes with licence cost is to procure a 3rd party adapter. I will recommend patching PI to the required SP level and utilizing the standard functionality.

iaki_vila
Active Contributor
0 Kudos

Hi Shabarish,

It is a pleasure to read your suggestions again since your Hitchhiker's Guide to the Galaxy farewell.

Regards.

former_member217888
Participant
0 Kudos

Hi Shabarish,

If its SOAP to Proxy scenario, then it will be a direct SOAP call or we need to use Wrappers ??

Please provide some details.

Thanks

Neha

Shabarish_Nair
Active Contributor
0 Kudos

Thanks Inaki.

former_member186851
Active Contributor
0 Kudos

Client will send data using the PI end point.No need to use any wrappers.And open the firewall connections