Wash and cut the zucchini in half, lengthwise. Using a small spoon, scoop out and discard pulp from each half leaving sturdy walls around the edges. Over medium heat in a pan, add the oil and sauté the onions till golden brown (about 5 minutes), reduce heat and add garlic, corn and tomato. Cook for a further two minutes.