Learn XQuery |
Home:Learn XQuery:XQuery Examples:XQueryWebService:XQueryWebService Framework Overview: The XQueryWebService FrameworkXQueryWebService is a framework that allows you to expose an XQuery as a Web service. In this section, you'll see how you can use DataDirect XQuery to build powerful data services that query, aggregate, and update multiple data sources using XQuery. About the ExampleThe application used to illustrate some of the features of the XQueryWebService framework is a simple employee lookup: based on the employee ID you enter, the query returns information such as first and last name, job level, date of hire, and so on. Before You BeginBefore getting started with the example presented in this section, you'll need the following:
Note: You need to use at least DataDirect XQuery 3.1 (build 034703). If you already have installed DataDirect XQuery but are using an earlier build, you can either: You can use any Java servlet container you like; we used the open source Apache Tomcat for this example, so you will have to adjust references to Tomcat to the Java servlet container of your choice in your installation. Getting StartedTo get started with the XQueryWebService example:
<?xml version="1.0"?> What's Next?Once you've taken care of the basics, you're ready to move on, starting with specifying relational data sources, as described in the following section. |
XQJ Tutorial!Learn about the power of DataDirect XQuery and XQJ now! This informative tutorial covers basics and advanced concepts in quick, easy-to-read chapters, and includes four working code samples to help you learn. Try DataDirect XQuery for Free!Put the power, scalability, and performance of DataDirect XQuery to work for you today! Our free trial lets you see for yourself how easy it is to build data integration applications that access relational, EDI, and other file formats as XML! |





