roleListSequenceElement.appendChild(roleElement); if (roleListItem.getRoleName() != null) { Element roleNameElement = requestDoc.createElementNS("http://schemas.microsoft.com/windowsazure", "RoleName"); roleNameElement.appendChild(requestDoc.createTextNode(roleListItem.getRoleName())); roleElement.appendChild(roleNameElement);
roleListSequenceElement.appendChild(roleElement); if (roleListItem.getRoleName() != null) { Element roleNameElement = requestDoc.createElementNS("http://schemas.microsoft.com/windowsazure", "RoleName"); roleNameElement.appendChild(requestDoc.createTextNode(roleListItem.getRoleName())); roleElement.appendChild(roleNameElement);