Kenmore ice maker no power

Kenmore ice maker on double door ,stopped working took it apart and found all electrical contacts corroded away,I purched from appliance pros ice maker for my unit # 2198597,in stalled and it does not worked ,finnally i check for power at the black and white wire in the harness, no power , i held the flapper down and the lite goes steady on,still no power,the water works on the door,could it be the water valve does the power go through that first,and than to the ice maker??
Thank you Sal