Skip to Content
avatar image
Former Member

Calling a RESTful service in SAP-PI - asynchronous interface

Hi Experts,

We have a requirement to post the IDoc received by PI as payload to the REST URL.

The URL has to be constructed dynamically by fetching data from IDoc to provide values to Query String variables(Placeholder variables).

It is an asynchronous scenario. We are not provided with WSDL.

(we are not permitted to use REST adapter)

Can you please suggest how the SOAP adapter with AXIS framework can be configured? And is it the good adapter to use on the receiver side?

Got the hint of using AXIS framework by Michal's PI tips: Exchange Rates from an XML file on a web page - REST, AXIS

Your input is valuable.

Thanks,

Shree

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 23, 2014 at 10:43 AM

    Hi Shree,

    You can go with two approach, AXIS adapter and JAVA Proxy approach.

    REST is native HTTP mechanism which has been there since the 90's. You don't need a wsdl for this, you just need a xsd because it is native xml over HTTP. You just need to make sure what HTTP methods you have to support.

    You do not need a wsdl for REST web service integration. Each of the REST web service comes with an API set of calls. You need to study these and incorporate those in your scenario.

    Please check the following for further info:

    Consuming Synchronous RESTful Web Service with PI - I

    Regards,

    Azhar

    Add comment
    10|10000 characters needed characters exceeded