Step 1: Create a form with a dynamic grid as shown in the below figure 1
Figure 1
Step 2: Configure data-source on the dynamic grid by clicking on the dynamic grid control and then click on ‘New DataSource Configuration’.
Figure 2
Step 3: Select the data-source type as ‘RESTful Service’.
Figure 3
Step 4: Add the Required columns. And then click Next button.
Figure 4
Step 5: Select the DataSource . For example here ‘ClaySys Test Service’ is selected. and click Next button.
Figure 5
Step 6: Click on Add button.
Figure 6
Step 7: Select the RESTful Method. And click Next button. The RESTful methods available are
A POST request is used to send data to the server, for example, customer information, file upload, etc. using HTML forms.
The GET method is used to retrieve information from the given server using a given URI. Requests using GET should only retrieve data and should have no other effect on the data.
Replaces all current representations of the target resource with the uploaded content.
Removes all current representations of the target resource given by a URI.
Figure 7
Step 8: You may map RESTful Service URI and Query string if required and Click Next button. For example here we have done a static URI mapping and Query string mapping is done on a text-box control.
Figure 8
Figure 9
Click Next Button .Then Manage Web service Method Popup will open.
Figure 10
Click GetResponse link. Then another Popup will open.
Figure 11
Step 9: Enter Sample Request . And click Execute button. For ‘Get’ method Sample request is not required. Then response will be available.
If you have a sample Response you may Paste it and Click Execute button or you can get the Sample Response by clicking on ‘Get Response’ button.
Figure 12
Figure 13
Step 10: Map the controls in the sample Request view. And click Next button.
Figure 14
Step 11 : Enter the real time value in Query string mapping for example here ‘ANTON’ is a real-time value. And click on ‘Execute’ button. A sample response will be generated. Take copy of the response and click ‘Close’ button.
Figure 15
Step 12 : Paste the sample response and click Next button.
Figure 16
Step 13 : Enter the command title and click on Finish button.
Figure 17
Figure 18