We had a similar problem. It could be that the seals in your solenoid valve is damaged. To check this switch off the washing machine, open up the lid, then open up the water taps. Check to see if the washing machine is filling. If so you will need to replace the soleniod valve.
Mick, November 2006