updated webservice example with sample code for client PUT, POST and DELETE