Soldiers are valid targets. Palestinians have a right under the Geneva convention to oppose the occupation by any means including use of arms or other means. Soldiers are legitimate targets. If the death of soldiers is of concern then end the occupation and illegal settlements.
Egypt to hold parliamentary election in 2 phases starting Oct 18-19 (Reuters)
from the article: Two defendants in Jerusalem lynch of Palestinian youth get plea deal