The description—orphaned Chinese fighting Japanese soldiers—strongly points to The Bridge on the River Kwai (1957), though with a key correction: the characters are Allied POWs (British, Australian, Dutch, American), not specifically orphans, and the Chinese contingent is part of the multi-national prisoner workforce.
The "orphaned Chinese" detail likely stems from childhood viewing: the ragged, diverse prisoners—including young Asian men—could be misremembered as orphans. The film focuses on Colonel Nicholson's (Alec Guinness) obsessive pride in the bridge, not a Chinese resistance story.
If the movie featured specifically Chinese child soldiers fighting Japanese troops in a non-POW setting, please share more details—actors, specific scenes, color/B&W, language—and we can hunt for a more obscure title.