Chapter 9. Web Service Interface (WS)

Table of Contents

1. Web Service Configuration
2. Starting the Web Service and Help Screen
3. Retrieving Output
4. Running Jobs
5. Query Job Output

In addition to the CLI there is a HTTP Web Service that provides the same commands as the CLI that can be accessed with a HTTP/REST client passing parameters and returning output in JSON format. The key difference from the configuration of the CLI is the addition of jobs. Under the web service output from schema builds or tests are stored in a SQLite database and retrieved at a later point using a job id. A rest interface has been provided in HammerDB for interacting with the web service using TCL, however this is not a necessity and although the examples in this section are given using TCL the web service can be driven with scripts written in any language. Additionally the huddle package has been provided for TCL to JSON formatting.