You may be thinking of "So What" by Miles Davis (Kind of Blue, 1959). While not constant trading, it features iconic alternating solos: John Coltrane (tenor sax) and Kenny Burrell (guitar) on some versions (the original has Cannonball Adderley on alto).
If you have a specific recording in mind, check the personnel—many "trading" moments are actually sequential solos rather than call-and-response.