I've used this before to clean out the washer.
1 cup bleach (liquid bleach)
1 cup dish detergent (Sunlight brand for dishwasher, granular form)
Directions:
1 Place 1 cup of bleach in detergent dispenser.
2 Place 1 cup of Sunlight granular dishwasher detergent in washing machine tub.
3 Set wash cycle on HOT and start.
4 Run the washer again without any detergent, bleach or clothes to make sure it all gets rinsed out
Read more at: http://www.food.com/recipe/maytag-neptune-washer-front-loader-cleaning-solution-224770