Description
Using 2.5.0, service.setHandlerResolver has no effect when later creating a Dispatch:
Service service = Service.create(wsdl, SERVICE_QNAME);
service.setHandlerResolver(new MyHandlerResolver());
Dispatch<SOAPMessage> dispatch = service.createDispatch(PORT_QNAME, SOAPMessage.class, Service.Mode.MESSAGE);
List<Handler> handlerChain = dispatch.getBinding().getHandlerChain();
handlerChain.add(new SomeHandler());
dispatch.getBinding().setHandlerChain(handlerChain);
SomeHandler is invoked, but any handlers returned by MyHandlerResolver.getHandlerChai() are ignored.
Is this a bug in the CXF JAW-WS implementation?