Working new REST webservice implementation.