[ https://issues.apache.org/jira/browse/TOMEE-1466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yann Blazart updated TOMEE-1466:
--------------------------------
Description:
Romain has made the code to use ws-security while configuring it by server files. Great !
But this only work when you inject Port with @WebServiceRef.
In JaxWS we can inject javax.xml.ws.Service sublclass, for example generated by the jaxws
maven plugin, then we can get the port by using a get method.
This is essential to be able to put features (like MTOM and Adressing) that sometimes need
some parameters (threshold for MTOM for example).
I made the patch, with the unit test
was:
Romain has made the code to use ws-security while configuring it by server files. Great !
But this only work when you inject Port with @WebServiceRef.
In JaxWS we can inject javax.xml.ws.Service sublclass, for example generate by the jaxws maven
plugin, then we can get the port by using a get method.
This is essential to be able to put features (like MTOM and Adressing) that sometimes need
some parameter (thresold for MTOM for example).
I made the patch, with the unit test
> Apply WS-Security config (cxf interceptor) when use @WebService with javax.xml.ws.Service
> -----------------------------------------------------------------------------------------
>
> Key: TOMEE-1466
> URL: https://issues.apache.org/jira/browse/TOMEE-1466
> Project: TomEE
> Issue Type: Improvement
> Affects Versions: 2.0.0, 1.7.2
> Environment: All
> Reporter: Yann Blazart
> Labels: client, cxf, features, jaxws
> Fix For: 2.0.0, 1.7.2
>
> Attachments: patch.txt
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> Romain has made the code to use ws-security while configuring it by server files. Great
!
> But this only work when you inject Port with @WebServiceRef.
> In JaxWS we can inject javax.xml.ws.Service sublclass, for example generated by the jaxws
maven plugin, then we can get the port by using a get method.
> This is essential to be able to put features (like MTOM and Adressing) that sometimes
need some parameters (threshold for MTOM for example).
> I made the patch, with the unit test
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
|