In this post we will see how to create restful services using SOA Suite 126.96.36.199.0
To achieve this we need to Create a empty project .
Now we have to create a schema to use in this example.
I have created the below schema for our process.
After creating the schema right click on Exposed services and click on select REST.
Now it will open a new window to configure REST Binding, give the name and click on Next Now click on + button in Methods section .
Now it brings up the “Rest Method Definition” window, give the method name, HTTP verb and select Schema for request.
Go to response tab and select the schema for response, and click on OK to complete the rest setup.
Click on Finish , it will creates the rest binding .
Now go to components tab and right click and create a BPEL process and provide the schema details for input and output .
Make sure you un select “SOAP binding”.
Inside bpel process Assign some value to output variable and you are done with creating REST Binding service.
Deploy the SAR to server and TEST the results.