A RESTful web service is a web service that adheres to the principles and constraints of REST (Representational State Transfer). RESTful web services are designed to be scalable, stateless, and simple, leveraging standard HTTP methods to perform CRUD (Create, Read, Update, Delete)
The collection controls available are AutocompleteTextbox, Combobox, Radiobuttongroup, Checkboxgroup, Listbox,MultiBox. These controls can be configured using webservice datasource. Let’s discuss the configuration in detail.
1. Click on the collection control, quick menu appears as shown in the image below.
2. Select New DataSource Configuration, Datasource wizard appears as shown in the image below.
3. Select RESTful Webservice and click Ok. Select the required datasource from the list as shown in the image and click Next.
4. Select the required method.
POST: The POST method is used to send data to a server to create a new resource.
GET: The GET method in RESTful APIs is used to retrieve data from a server.
5. Click Next button.
6. Restful service URI, Query String, header mapping can be done in this window.
7. Sample body can be entered in the window as shown below and click Next button.
8. Sample soap request xml view is shown in the window below.
9. Enter the required field and click Next button.
10. Sample response window appears as shown in the image below and click Get Response link. Get Response window appears, click Execute button. Response will be displayed as shown in the image below.
11. Paste the generated response in the response window as shown in the image below.
12. Click Next button. Map the required filed as shown in the image and click Next button.
13. Select the required trigger as shown in the image below and click Finish button.
10.After clicking Finish. Rule will be generated as shown in the image below.
11.Click Preview and type the first letter in autocompletetextbox, data will be loaded as shown in the image below.