You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Bharath Ganesh (JIRA)" <ji...@apache.org> on 2006/12/27 06:48:21 UTC

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

JAX-WS Handler on client side not working
-----------------------------------------

                 Key: CXF-336
                 URL: http://issues.apache.org/jira/browse/CXF-336
             Project: CXF
          Issue Type: Bug
          Components: JAX-WS Runtime
    Affects Versions: 2.0-M1
            Reporter: Bharath Ganesh


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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Jervis Liu (JIRA)" <ji...@apache.org>.
     [ 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

        

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

Posted by "Jervis Liu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jervis Liu resolved CXF-336.
----------------------------

    Resolution: Fixed

> 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

        

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

Posted by "Jervis Liu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jervis Liu reassigned CXF-336:
------------------------------

    Assignee: Jervis Liu

> 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