add doc of declaration of service block in XML