restful webservice example