convert service configuration to xml