operation.setAttribute("name", name);
operation.setAttribute("displayName", displayName);
if (managedAttr != null) {
operation.setAttribute("description", managedAttr.description());
} else {
operation.setAttribute("description", managedOp.description());
}
if(parameters.hasChildNodes()) {
operation.appendChild(parameters);
}