Seven people have been wounded, one of them critically, in a shooting near the Israeli settlement of Ofra in the West Bank, according to the Israeli ambulance service, Magen David Adom.