translate service config to xml