This document describes the implementation of Web Services within the MIDAS infrastructure using the TclHttpd package. Client access is possible using either a Web Browser and Html + Javascript or an application using packages based on the SOAP protocol. An simple example of a service which returns the current time is used and the necessary files required to implement this service are explained.
This document complements the document Implementation of XML/SOAP client and server facilities within MIDAS which contains additional code examples.
Also see the document Installation of the MIDAS Web Services applications which contains information for downloading and installating the software.
The SOAP service name is TimeServer and the HTML resource name is TimeService
Note that since TclHttpd provides both of these features the names MUST be different.
In the examples replace [TimeServerHost] with the name of your server system.
Also replace [MIDASBASE] with the base of your software installation (default is /MIDAS)
global env source [file join $env(MIDASBASE) TclHttpd tcl TimeServer.tcl
V Pucknell; STFC; Daresbury Lab 17 Feb 2009