Skip to Content

Creating a REST web service in SAP PI

Dear All,

I have a requirement to create REST web service in PI with given input and output parameters.Also using a REST adapter when communicating with third party portal.

It is a synchronous interface where third party portal requests for an information from the ECC or updates the information in ECC

Cant we create a simple SOAP to Proxy synchronous here?

Can anyone guide me on how to create a REST web service in PI?

I need to provide these inputs to client, so awaiting your replies soon.

Thanks & Regards,

Pushpa

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 22 at 01:29 PM

    Hi Pushpalatha,

    I have changed sever SOAP - proxy to REST - proxy you can use all the ESR development for you before scenario. You only need to set a new communication component or party/communication component and to have to senders for the same scenario if you want it. Even if you have to use JSON format with REST, in the first REST tab (General) you can convert the JSON to XML. In the section "Input Message Format" the field "Add Wrapper Element" and in the "Output Message Format:" section the field "Add Wrapper Element".

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 22 at 11:24 AM

    It is same as you create SOAP webservice meaning you being the server by using SOAP adapter , same way use REST sender adapter create the outbound service interface with given request/response structure and give third party necessary connection details.

    Add comment
    10|10000 characters needed characters exceeded