For attack-roll-spells, the defender rolls nothing. Instead, the attacker rolls 1d20+modifiers against the defender's AC, similar to weapon attacks. The modifier used is ~always the spellcaster's main spellcasting ability.
ah, ok. I thought all spells rolled attack first, then did the saving-throw rolling after if it hit.