JBoss Community Archive (Read Only)

Teiid Examples

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 XML document. This also demonstrates how to define a transformation using XMLTABLE and XMLPARSE to translate the XML Document into relational results.


All the code discussed in this tutorial is available in the webservices-as-a-datasource quickstart.

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

This example will deploy the CustomerRESTWebSvc.war, which represents the web service datasource that Teiid will access. This was done so that no external resource is required in order to execute the quick start. The dynamic vdb, web service-vdb.xml, defines the VIEW using DDL, in order to read and transform the XML document returned from the web service.

JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-13 13:14:06 UTC, last content change 2013-08-12 15:19:31 UTC.