// get input and output streams
InputStream inputStream = new BufferedInputStream(request.getInputStream());
OutputStream outputStream = new BufferedOutputStream(response.getOutputStream());
// get the message processor
MessageProcessor messageProcessor = MessageProcessorFactory.getMessageProcessor(
this.getMessageProcessorName());
// process the message
messageProcessor.processMessage(messageContext, inputStream, outputStream);
String contentType = TextContent.EMPTY;
String outputText = TextContent.EMPTY;
if (messageContext.isError())