Skip to Content

If the sender application is based on rest webservices, definitely use REST adapter?

Nov 02, 2016 at 03:48 PM


avatar image

Dear Experts,

I have a requirement where we need to integrate an application based on Rest service with our ECC. Do we need to definitely use REST adapter for the configuration.?

Overall scenario is Rest web services to Proxy.Please provide some guidance on REST sender scenario.

Thanks in advance.

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

2 Answers

Praveen Gandepalli Nov 03, 2016 at 02:20 AM
10 |10000 characters needed characters left characters exceeded
Bhavesh Kantilal Nov 03, 2016 at 04:53 AM

Hello Abhiram,

From your question it looks like the expectation is for PO to provide a RESTful Service such that your calling system can make a RESTFul call to PO.

If that is the case,

  • You may use the REST Adapter as your Sender Adapter and configure this Interface as needed. Would suggest you go through the REST Adapter Series : PI REST Adapter – Blog Overview and understand the various options with which your Sender REST Adapter can be configured.
  • You might need to talk to your 3rd Party System to understand - what data they are going to trigger, what query strings are needed, how is the payload going to be sent ( XML vs JSON, HTTP Post vs GET, etc ) and then configure your REST Adapter Accordingly.
  • Within PO, thereafter your configuration is like any other adapter -->PO --> Proxy Scenario.

One another note - you might want to check,

  • Is the 3rd Party system always the trigger for the Interfaces? What kind of RESTful calls are they going to make. Remember REST is nothing but a HTTP and it could be the case where even your HTTP_AAE adapter can be used and so on.
  • Likewise, if you 3rd Party System is going to provide a RESTFul service it might make sense to understand what is the service all about. At time your plant HTTP_AAE adapter might also suffice ( with some custom coding ,JSON to XML conversion modules etc ).

The devil as they say - lies in the details and both REST And Plain HTTP_AAE adapter can do multiple things. If you have the REST Adapter, use the same. If you dont' and patching your system to get to the REST Adapter is difficult, you might be able to use the HTTP Adapter!



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

Hi Bhavesh,

Thanks for the inputs.

Please let me know, how we can proceed with creation of sender interface,dt and mt.Is it in a normal way that we have to create structure and expose the service interface wsdl or do we need to follow any other way.




HI Abhiram,

Were you able to setup this interface? How do i expose the RESTful service to third party using the MT n DT i define?

How do i generate the WSDL for REST sender adapter