<service> must be put under <application>