Assistant Commandant Jitendra Singh, Assistant Sub-Inspector Ramnivas and Constable Hansraj were killed in the firing along the International Border (IB) in the Chamliyal post area of Samba district on Tuesday night.
A huge crowd of people, including public representatives, district administration officials and police personnel gathered to bid farewell to the soldiers.
Singh was cremated at his ancestral village, Salempur Kalan, in the Bharatpur district.
"After their train left for Jaipur, Jitendra went to the post and laid down his life, Rotwal added.
Rotwal said that Singh's father received the unfortunate news while he and his wife were still on the train.
Singh's father hid the news from his mother and she was only informed last evening, Rotwal said.
The assistant commandant's three-year-old son, Yashwardhan, lit the funeral pyre.
Hansraj's wife had given birth to a baby boy last month. He was scheduled to come home on June 15 to meet his son.
Hansraj also has a four-year-old daughter, a family member told reporters.
(This story has not been edited by Business Standard staff and is auto-generated from a syndicated feed.)