if (defaultPrefix == null) {
defaultPrefix = StaxUtils.getUniquePrefix(writer, ns, false);
writer.writeStartElement(defaultPrefix, "Fault", ns);
writer.writeNamespace(defaultPrefix, ns);
} else {
writer.writeStartElement(defaultPrefix, "Fault", ns);
}
writer.writeStartElement("faultcode");
String codeString = fault.getCodeString(getFaultCodePrefix(writer, fault.getFaultCode()),