cancel
Showing results for 
Search instead for 
Did you mean: 

expose REST service in PI

Former Member
0 Kudos

Hi all,

I kindly ask if it's possible to expose a REST web service with PI to be called from an external application.

I've created many scenarios in wich I created a SOAP service (from service interface) in PI and I was able to call the service from an external application (e.g. SOAPUi).

Is it possible to make the same thing exposing a REST service (the url should contain parameters).

I've seen some discussions and blogs with examples of usage of "SOAP Axis" but it seems it's be possible only to invoke an external service.

Is it possible also to create a REST web-service?

If yes could you please provide examples or step-by-step procedure?

Thanks in advance for any help.

Stefano.

Accepted Solutions (1)

Accepted Solutions (1)

former_member229310
Active Participant
0 Kudos

Hi ,

Based on my experience with Rest not all features required by external system can be achieved without using an external adapter. JSON conversion, put & get methods etc

Advantco provides the REST adapter which has very good features. If you are serious implementing then you can get trial run free for 15 days and do your proto type before getting a license. They provide excellent support during your implementation and it is really handy when dealing with low bandwidth messages especially for mobile applications.

Thanks..

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks for your answers.

As I was thinking there is no a standard solution for REST web services but it's a functionality provided by Avantco.

naveen_chichili
Active Contributor
0 Kudos

Hi Stefano,

please check the below link where REST adapter key features.

>>>I kindly ask if it's possible to expose a REST web service with PI to be called from an external application.

It can be used to expose internal applications as REST services or to consume external REST services by calling these services from SAP PI.

http://scn.sap.com/community/pi-and-soa-middleware/blog/2011/11/08/rest-adapter-for-netweaver-sap-pi

Thanks and Regards,

Naveen    

Former Member
0 Kudos

Hi Stefano,

The answer would be yes and no.

Reason being SAP PI does not have this functionality out of the box, but if you really want to you can Buy the adapter from Advantco -> https://www.advantco.com/product/REST

IF you buy the adapter you should have all the functionality you are looking for.

Please also see the blog below.

http://scn.sap.com/community/pi-and-soa-middleware/blog/2012/03/07/integrating-rest-services-on-pi

Regards,

Jannus Botha