XMLStreamWriter writer = STAXUtils.createXMLStreamWriter(out, "UTF-8",null);
writer.writeStartDocument();
writer.writeStartElement("soap", "Body", Soap11.getInstance().getNamespace());
writer.writeNamespace("soap", Soap11.getInstance().getNamespace());
soap11.writeMessage(message, writer, new MessageContext());
writer.writeEndElement();
writer.writeEndDocument();
writer.close();
Document doc = readDocument(out.toString());