Dice the onions, cut the carrots and potatoes into slices. Steam the vegetables in the oil. Add the corn kernels (with liquid), whipped cream, chicken stock, bay leaf and pepper. Cook in a closed pot for about 30 minutes. Cut the ham into strips about 2 cm wide. Take the bay leaf out of the soup. Puree the corn soup.