cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eirik Bjorsnos (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-3956) JAX-WS HandlerResolver consulted for ServiceImpl.createPort, but not for createDispatch
Date Mon, 05 Dec 2011 21:22:40 GMT
JAX-WS HandlerResolver consulted for ServiceImpl.createPort, but not for createDispatch
---------------------------------------------------------------------------------------

                 Key: CXF-3956
                 URL: https://issues.apache.org/jira/browse/CXF-3956
             Project: CXF
          Issue Type: Bug
            Reporter: Eirik Bjorsnos


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?


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message