The film is The Longest Day (1962)—but it's primarily about D-Day (WWII), not the Korean War. Wayne plays a U.S. Army general in an ensemble cast. The Korean War is not the focus.
John Wayne did not star in a dedicated Korean War film.