Palestinian mourners attends the funeral of Saad Salah and Aws Salameh in the West Bank city of Jenin, July 12, 2017. REUTERS/Abed Omar Qusini

JENIN, West Bank (Reuters) - Israeli forces killed two Palestinians on Wednesday in a raid on a refugee camp in the occupied West Bank, Palestinian medical officials said, and the Israeli military said its troops had opened fire after coming under attack.

The incident took place before dawn in Jenin refugee camp, and no Israeli casualties were reported.

Israeli forces often carry out searches in the West Bank for suspected militants and weapons manufacturing facilities. .

“During an IDF (Israel Defence Forces) operation in the Jenin refugee camp, Palestinian gunmen opened fire at the forces and assailants hurled explosive devices at the forces,” the military said in a statement.

“In response to the immediate threat, forces shot towards the attackers.”

The Palestinian health ministry said the two Palestinians killed by the troops were aged 21 and 16, and that a third person was shot and wounded in the leg.

Camp residents made no mention of any Palestinian gunfire in their accounts of the raid in which they said rocks were thrown at the troops.

Mohammed Sadee, who lives in the camp, said he witnessed one of the Palestinians being shot.

“The military jeeps were driving in and this martyr was behind them on a motorbike. They shot him ... and he fell to the ground,” he said.