created DataContracts and test service method.