cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a simple Hello world web service in SAP PI ?

Former Member
0 Kudos

I want to create a web service in SAP PI, that would take string "name" as a parameter and return "Hello world" + [name of the parameter]. How I am able to achieve it in the SAP PI?

Accepted Solutions (0)

Answers (1)

Answers (1)

iaki_vila
Active Contributor
0 Kudos

Hi Naveed,

First of all, you should take into account that PI is a middleware tool and not an application server. However, you can deploy your own applications in the java stack and to work like application server, but in my opinion if we do that i think we are distorting the PI main purpose. I wanted to say that because we should think that we need to have a sender and receiver partners, avoiding to use the PI as middleware tool and receiver partner in one shoot.

When i want to test a PI and to do a Hello World scenario, i usually do a SOAP - RFC or Proxy scenario, then in the receiver RFC or Proxy i develop my Hello World routine.

Finally, i think it is quicker to do a SOAP to SOAP scenario, you can find a lot of free webservices on Internet to do a mock service in PI. Please check this blog

Regards