public void rename(String otAuth, Node node, string name) { DocumentManagementClient docManClient = new DocumentManagementClient(); Controle_Tranche.CWS.DocumentManagement.OTAuthentication otAuthDocManger = new Controle_Tranche.CWS.DocumentManagement.OTAuthentication(); otAuthDocManger.AuthenticationToken = otAuth; try { docManClient.RenameNode(ref otAuthDocManger, node.ID, name); } catch (FaultException ex) { Console.WriteLine("Exception: " + ex.Message); } finally { docManClient.Close(); } }