I have the exposed a VO with web service operations CRUD.i have exposed two attributes , one is the primary key say 'Id' and other is say 'Name'.The 'Id' attribute is auto generated and therefore in the create operation giving only the 'Name' attribute and other attributes will create a record . But , during the update operation , the requirement is that I should be able to edit the record by just giving the 'Name' attribute and the attribute to be updated.
Currently it update fails because i have not provided the primary key 'Id'.'Name' attribute is also unique key.
So, can someone please help on how i can update the record by providing the 'Name' attribute only ?