xmlBuilder.append("<soap:Header><header xmlns='http://springframework.org'/></soap:Header>");
xmlBuilder.append("<soap:Body><payload xmlns='http://springframework.org'/></soap:Body>");
xmlBuilder.append("</soap:Envelope>");
String envelope = xmlBuilder.toString();
ResponseCreator responseCreator = ResponseCreators.withSoapEnvelope(new ByteArrayResource(envelope.getBytes("UTF-8")));
WebServiceMessage response = responseCreator.createResponse(null, null, messageFactory);
assertXMLEqual(envelope, getSoapEnvelopeAsString((SoapMessage)response));
}