.getProperty(Constants.Configuration.CHARACTER_SET_ENCODING);
// Apply a detachable inputstream. This can be used later
// to (a) get the length of the incoming message or (b)
// free transport resources.
DetachableInputStream is = new DetachableInputStream(inputStream);
messageContext.setProperty(Constants.DETACHABLE_INPUT_STREAM, is);
// createSOAPModelBuilder takes care of configuring the underlying parser to
// avoid the security issue described in CVE-2010-1632
OMXMLParserWrapper builder = OMXMLBuilderFactory.createSOAPModelBuilder(is,