It takes some time for the troops and wall defenses to regenerate.
It's killing them that yields the experience and prestige.

Troops seem to come at 40k per 6 minutes.
Wall defenses regen more smoothly.

After 1 hour it should be completely filled up again. If you want full resources, it takes 8 hrs.

Of course, server reset puts everything back to full.