Method for a water inlet and outlet device for an automatic soaking device preferably for soaking soya beans. The method involves providing the following components for the device: a straight inlet pipe 1 connected at one end to a three-way inlet pipe 5. The three-way inlet pipe is also connected to an electromagnetic inlet valve 6 and electromagnetic drainage outlet valve 7. There is a 3-way outlet pipe 8 connected at one end to the electromagnetic outlet valve 7, and at another end to a straight outlet pipe 3. The valves are removably attached to a retainer plate 4 via snap fit attachment means 9.