{
msgContext = ctx;
EnvelopeBuilder builder = new EnvelopeBuilder(messageType, getSOAPConstants());
// If high fidelity is required, record the whole damn thing.
if (ctx == null || ctx.isHighFidelity())
recorder = new SAX2EventRecorder();
envelope = builder.getEnvelope();
envelope.setRecorder(recorder);
pushElementHandler(new EnvelopeHandler(builder));