[jbossts-issues] [JBoss JIRA] (JBTM-986) Automatically setup the client side handler chain

Paul Robinson (JIRA) jira-events at lists.jboss.org
Thu May 10 08:35:20 EDT 2012

     [ https://issues.jboss.org/browse/JBTM-986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Robinson updated JBTM-986:

     Original Estimate: 3 days  (was: 1 week)
    Remaining Estimate: 3 days  (was: 1 week)
         Fix Version/s: 5.0.0.Final
                            (was: 5.0.1.Final)

> Automatically setup the client side handler chain
> -------------------------------------------------
>                 Key: JBTM-986
>                 URL: https://issues.jboss.org/browse/JBTM-986
>             Project: JBoss Transaction Manager
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: XTS
>            Reporter: Paul Robinson
>            Assignee: Paul Robinson
>             Fix For: 5.0.0.Final
>   Original Estimate: 3 days
>  Remaining Estimate: 3 days
> When invoking a WS-AT or WS-BA Web service, the client side handler has to be added to the client stub to manage transaction context propagation. The code required to do this is as follows:
> {code}
> BindingProvider bindingProvider = (BindingProvider) client;
> List<Handler> handlers = new ArrayList<Handler>(1);
> handlers.add(new JaxWSHeaderContextProcessor());
> bindingProvider.getBinding().setHandlerChain(handlers);
> {code}
> This is not very user friendly.
> This could be done using a JAX-WS feature passed to the Client-side port. The default should be "enabled" providing the feature is enabled in the XTS server config. 

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


More information about the jbossts-issues mailing list