Complex sentence: The resulting song was published as a collaboration of Lawrence and Coates, and when Lawrence showed the song to bandleader Harry James, it was recorded for a major hit (again counter to Dreyfus' thoughts).
Split into simpler sentences: The resulting song was published as a collaboration of Lawrence and Coates. After Lawrence showed the song to bandleader Harry James, it was recorded for a major hit (again counter to Dreyfus' thoughts).