Test Client Overview

The iWay XML Archive Test Client is a web-based AJAX application used to search the iWay XML Archive and retrieve XML documents. The client interface wraps a mongoDB db.collection.find() method. The Key:Value field becomes the contents of the find method. Consider the following example, shown in the image below.

Key:Value field example

This example results in a mongoDB query of db.xml.find({"FEDREG.VOL":"75"}). The additional query options for field selection, sorting, skip, limit, and cursors, are not supported in the HTTP request sent from the Test Client. However, these types of queries can be made from a more intelligent client.

The client also supports applying an XQuery to the set of documents retrieved through the search. This is done by checking the Apply XQuery: check box and typing a query string in the XQuery to apply: input box as shown in the following image:

Apply XQuery check box

The client is an example of one of the many ways in which you can use the archive. In the default installation of the iWay XML Archive, the Test Client can be found at http://localhost:2222.

This section describes the use of the iWay XML Archive Test Client and some basics of the query grammar.

You can find more information about the mongoDB query language at:

http://www.mongodb.org/display/DOCS/Querying


iWay Software