To mock web service.