postShutdownActionElement.appendChild(requestDoc.createTextNode(parameters.getPostShutdownAction().toString())); shutdownRoleOperationElement.appendChild(postShutdownActionElement);
shutdownRoleOperationElement.appendChild(operationTypeElement); if (parameters.getPostShutdownAction() != null) { Element postShutdownActionElement = requestDoc.createElementNS("http://schemas.microsoft.com/windowsazure", "PostShutdownAction"); postShutdownActionElement.appendChild(requestDoc.createTextNode(parameters.getPostShutdownAction().toString())); shutdownRoleOperationElement.appendChild(postShutdownActionElement);