Rest service template. (Using web.xml)