System.out.println("update bindings:");
System.out.println("\tConf File: " + xmlFileName);
System.out.println("\tBinding File: " + bindingXml);
System.out.println("\tBinding Name: " + bindingName);
DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
documentBuilderFactory.setNamespaceAware(true);
documentBuilderFactory.setValidating(false);
DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
Document doc1 = documentBuilder.parse(xmlFileName);
Document doc2 = documentBuilder.newDocument();
doc2.appendChild(doc2.createElement("server"));