HeartGold and SoulSilver have no trade codes: trade face to face in the Union Room of any Pokémon Center. The GTS in Goldenrod City closed with Nintendo Wi-Fi Connection in 2014.
Union Room / GTS · Generation 4 · Johto & Kanto
Trade codes for every Pokémon game · HeartGold & SoulSilver maps & guides