{
// Init the handler chain
if (handlerResolver == null)
{
handlerResolver = new HandlerResolverImpl();
EndpointConfigMetaData ecmd = epMetaData.getEndpointConfigMetaData();
handlerResolver.initHandlerChain(ecmd, HandlerType.PRE, true);
handlerResolver.initHandlerChain(ecmd, HandlerType.ENDPOINT, true);
handlerResolver.initHandlerChain(ecmd, HandlerType.POST, true);
PortInfo portInfo = epMetaData.getPortInfo();