Web Services as a Data Source Example

Page edited by Steven Hawkins


Changes (3)

h1. Web Services as a Data Source Example

The Web Services as a Data Source example will demonstrate the use of the Web Service ("ws") Translator to call a web service that returns a JSON document. This will demonstrate how to define the model that will transform the JSON document into relational results.
The Web Services as a Data Source example demonstrates the use of the Web Service ("ws") Translator to call a web service that returns a JSON document. This also demonstrates how to define a transformation of the JSON document into relational results.

{tip}
...
{tip}

This example will use uses Twitter as the web service data source and will expose exposes it as a view through Teiid. Take note of the VIRTUAL PROCEDURE that is used to define how to transform a JSON document to XML and then into relational results.

Full Content

Web Services as a Data Source Example

The Web Services as a Data Source example demonstrates the use of the Web Service ("ws") Translator to call a web service that returns a JSON document. This also demonstrates how to define a transformation of the JSON document into relational results.

dynamicvdb-webservices-to-twitter
All the code discussed in this tutorial is available in the dynamicvdb-webservices-to-twitter quickstart.

See the README.md for directions to run the quick start.

This example uses Twitter as the web service data source and exposes it as a view through Teiid. Take note of the VIRTUAL PROCEDURE that is used to define how to transform a JSON document to XML and then into relational results.

Stop watching space | Change email notification preferences
View Online | View Changes | Add Comment