sample code. webservice + data laye + business logic.