When you update or delete a new instance of a value object that has not returned from the server, Flash Builder 4 returns the following error:
"Error: Unable to find data service for value: valueObjects::MyValueObject"
When you update or delete a new instance of a value object that has not returned from the server, Flash Builder 4 returns the following error:
"Error: Unable to find data service for value: valueObjects::MyValueObject"
Don't create an instance of the value object when updating or deleting. Instead, use the instance of the value object that came from server call like getAllItem(), getItems_Paged(), and so on.
This error occurs when data management. When data management is enabled, the Flex application tracks of all instances of this value object that are returned from the server. Then, it automatically executes corresponding server-side methods when required.