pfx = StaxUtils.getUniquePrefix(xmlWriter, name.getNamespaceURI(), false);
}
xmlWriter.setPrefix(pfx, name.getNamespaceURI());
xmlWriter.writeStartElement(pfx, name.getLocalPart(), name.getNamespaceURI());
if (StringUtils.isEmpty(pfx)) {
xmlWriter.writeDefaultNamespace(name.getNamespaceURI());
} else {
xmlWriter.writeNamespace(pfx, name.getNamespaceURI());
}
} catch (XMLStreamException e) {
throw new Fault(new org.apache.cxf.common.i18n.Message("STAX_WRITE_EXC", BUNDLE), e);