XQuery and Web Services

XQueryWebService is a framework that allows you to expose an XQuery as a Web service. In this section, you'll see how you can use the Data Integration Suite's XQuery product to build powerful data services that query, aggregate, and update multiple data sources using XQuery.

Gallery of XQueryWebService Framework Examples: Get hands-on experience running XQuery Web service applications developed using the XQueryWebService framework on a live application server. Test Web service operations exposed by the Employee Lookup Example, run finished applications like the Photo Search Demonstration, use XQuery to query an incoming request as XML as shown in the Travel Reservation Demonstration, or just explore the WSDL used to describe Web service operations that query relational data sources.

Table of Contents:

1. Employee Lookup Example

This example introduces you to the XQueryWebService framework and gets you started building XQueryWebService applications of your own. A sample application and code snippets help you understand how to set up a Java servlet container, specify data source connections, use SOAP and REST to access your Web services, and more.

In this section you'll find:

2. Photo Search Demonstration

Eager to get your hands on a live demonstration of the XQueryWebService framework in action? Point your browser here and see for yourself how DataDirect XQuery and Web services are changing web applications as you know them. To learn more about how the photo search application was built (hint: it wasn't using static HTML!), read more here.

In this section you'll find:

3. Travel Reservation Demonstration

DataDirect XQuery can be used on both the client and server sides of XQuery Web service applications. This example uses the Travel Reservation use case from the W3C SOAP specification to illustrate how you can use XQuery to query an incoming request as XML, and query relational databases or XML configuration files that are available to the implementation running on the middle tier, producing the XML needed for a response.