String ns = message.getVersion().getNamespace();
String defaultPrefix = StaxUtils.getUniquePrefix(writer, ns, true);
writer.writeStartElement(defaultPrefix, "Fault", ns);
writer.writeStartElement(defaultPrefix, "Code", ns);
writer.writeStartElement(defaultPrefix, "Value", ns);
writer.writeCharacters(fault.getCodeString(getFaultCodePrefix(writer, fault.getFaultCode()),
defaultPrefix));
writer.writeEndElement();