You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Jervis Liu (JIRA)" <ji...@apache.org> on 2007/01/11 10:08:27 UTC

[jira] Closed: (CXF-336) JAX-WS Handler on client side not working

     [ https://issues.apache.org/jira/browse/CXF-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jervis Liu closed CXF-336.
--------------------------


> JAX-WS Handler on client side not working
> -----------------------------------------
>
>                 Key: CXF-336
>                 URL: https://issues.apache.org/jira/browse/CXF-336
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.0-M1
>            Reporter: Bharath Ganesh
>         Assigned To: Jervis Liu
>
> After the JAX-WS portable artifacts on client side are generated with the WSDLtoJava tool, if JAX-WS handlers are set on the generated service class, the handlers are not invoked by the CXF client runtime. 
> The handlers are set using the Service API (service.setHandlerResolver())
> The same works fine if i set the handler like: 
> ((BindingProvider)port).getBinding().getHandlerChain().add(new MySOAPHandler());
> whereas the following does not work: 
> service.setHandlerResolver(new MyHandlerResolver()); //where MyHandlerResolver would add MySOAPHandler to the chain. 
> port=service.getXXXPort();
> port.sayXXX();
> Also if the handlers are set with the @HandlerChain annotation of the generated service class at client side, they are not picked up. 

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