In the occupied West Bank , the Israeli military said a Palestinian man tried to stab a soldier near a Jewish settlement .