Skip to Content
avatar image
Former Member

SAP XI/PI RESTFUL Webservice REST file creation

Hi ,

I am trying to implement REST to RFC scenario. Third party needs RESTful file (like wsdl file) to send request.

Third party will send REST request to XI and XI fetches data from R/3 using RFC and send it back to third party as REST response.

Experts ! can you explain this scenario in detail with example?

I have gone through following links -



And I have few questions.

1. firts links talk about HTTP. so is it required to customize http adapter in this case or we can use it as it is?

2. how are we going to create REST file (like WSDL file) which we will be giving to other party for calling? can we create it from XI integration directory ? OR from XI R/3?

Sujit S K.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Nov 19, 2010 at 09:13 PM

    REST service is very primitive and simplified form of web service.

    Yes we can use HTTP adapter at the target side for sending the request to third party and HTTP adapter at the sender side for accepting the request from the third party system.

    To post (HTTP Request) you just need to use the target URL in the receiver adapter. Similarly, you can give the sender URL to the third party system to post in our PI middleware. Follow the instructions given in the below link...

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 19, 2010 at 09:20 PM

    HTTP Sender URL is something like as follows

    The format for passing a meesage to XI is:

    String urlString = "http://<servername:portno>/sap/xi/adapter_plain?namespace=<namespace>&interface=<interface name>&service=<service name>&party=&agency=&scheme=&QOS=BE&sap-user=xiappluser&sap-password=satyam&sap-client=100&sap-language=EN";

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 25, 2011 at 04:50 PM

    Thanks !! It was helpful.

    Add comment
    10|10000 characters needed characters exceeded