}
else if (sepMetaData.isFeatureEnabled(JsonEncodingFeature.class))
{
MessageFactoryImpl factory = new MessageFactoryImpl();
SOAPMessageImpl soapMsg = (SOAPMessageImpl)factory.createMessage();
Document doc = new BadgerFishDOMDocumentParser().parse(inputStream);
soapMsg.getSOAPBody().addDocument(doc);
reqMessage = soapMsg;
}
else
{