List<String> handlerRoles = null;
if (eic.getHandlers() == null) {
if (log.isDebugEnabled()) {
log.debug("No handlers found on the InvocationContext, initializing handler list.");
}
HandlerResolverImpl hri = new HandlerResolverImpl(endpointDesc.getServiceDescription());
PortInfo portInfo = endpointDesc.getPortInfo();
eic.setHandlers(hri.getHandlerChain(portInfo));
handlerRoles = hri.getRoles(portInfo);
}
//Lets Initialize the understood QName here, add only the headers that the handler
//injects when we invoke the getHeader().
//Since we are adding the handlers to description layer here we will register all the
//headers set by SOAPHandler->getHeader().