Added new task to write service.xml file

Tasks has been added to write new service.xml file from the template to
allow proper attribute filter functionality.