cancel
Showing results for 
Search instead for 
Did you mean: 

SAP XI/PI RESTFUL Webservice REST file creation

Former Member
0 Kudos

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 -

1.http://wiki.sdn.sap.com/wiki/display/XI/REST%20Web%20Services%20in%20XI%20%28Proof%20of%20Concept%29

2./people/amol.joshi2/blog/2006/06/28/must-fire-a-http-get-from-xi---try-this

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.

Accepted Solutions (1)

Accepted Solutions (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

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...

http://help.sap.com/saphelp_nwpi71/helpdata/de/45/b4d3d7943c0039e10000000a11466f/content.htm

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks !! It was helpful.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

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";