This project contains a simple Web Service written in Java, inspired by the example with the same name from the book Erlang Programming by Francesco Cesarini and Simon Thompson.
It does not require any special configuration or database, all state is kept in memory. The actions implemented are:
-
StartServer
- it starts the server with all the frequencies free. -
StopServer
- it stops the server and clears information about frequencies. -
AllocateFrequency
- returns a frequency if available. -
DeallocateFrequency
- expects a frequency and adds it to the list of available.
All URLs expect POST requests, and all of them return in response XML formatted
as specified by response.xsd
.