Normally, while whistling your tongue will not come in contact with the hard or the soft palate, and the floor of the mouth. Instead, it will lie straight and stiff between them, pointing outwards. There will be a constant movement of the lips and the tongue while whistling, and that enables the sound.