Basic template for web service