Transformer transformer = null;
try
{
transformer = muleContext.getRegistry().lookupTransformer(DataTypeFactory.createFromObject(value),
new SimpleDataType(Document.class));
}
catch (TransformerException e)
{
MuleEvent event = (MuleEvent) message.getExchange().get(CxfConstants.MULE_EVENT);
throw new Fault(new TransformerMessagingException(