// Create the handlerpipeline and invoke it
HandlerPipeline pipeline = new HandlerPipeline(context.getXFire().getInPhases());
pipeline.addHandlers(context.getXFire().getInHandlers());
pipeline.addHandlers(msg.getChannel().getTransport().getInHandlers());
pipeline.addHandlers(getInHandlers());
if (context.getService() != null)
{
pipeline.addHandlers(context.getService().getInHandlers());
context.setProperty(SERVICE_HANDLERS_REGISTERED, Boolean.TRUE);