Query a Web Service¶
From the “Query” tab, you can query REST web services (currently, this option is not available for SOAP web services).
This tab is pretty similar to the one already explained in section Query of Views.
To display all the data of the web service, just let the “Query Setup” empty and click the Execute button. You can also add conditions to filter the data obtained from the web service.
In the case of web services, the “Query Setup” allows you to select the resource to query.
For instance, if we have deployed the web service depicted in Web Service REST deployed in Virtual DataPort, we can query the resource “film” (and we can choose whether to include the link to its actors in the results table), or we can query the “film_actor” resource (in this case, we can expand the association to its “film”, as already explained in the case of the views).
Regarding the “Query Results”, the same considerations explained for views apply here, except that, in this case, binary fields are shown as “[BINARY DATA]” and contain a link to download their content.