At least seven Israeli soldiers were killed in an ambush in Gaza City, Israeli media reported Wednesday, as the army continued to meet heavy resistance in an offensive against Hamas that has drawn international outrage and rare US criticism over the killing of thousands of civilians.