Basic working webservice code