Implementing web service as example