cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-7168) CXF WSN Publisher SOAP 1.2 Binding
Date Thu, 15 Dec 2016 06:49:58 GMT

    [ https://issues.apache.org/jira/browse/CXF-7168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15750575#comment-15750575
] 

Freeman Fang commented on CXF-7168:
-----------------------------------

We should create the endpoint with soap1.2 enabled when the jaxws provider is CXF(like JaxwsEndpointManager
already do), so that both soap1.1 and soap1.2 are supported OOTB.
And the CXFWSNHelper should be the place to do it, as only when the provider is CXF the CXFWSNHelper
is used


> CXF WSN Publisher SOAP 1.2 Binding
> ----------------------------------
>
>                 Key: CXF-7168
>                 URL: https://issues.apache.org/jira/browse/CXF-7168
>             Project: CXF
>          Issue Type: Improvement
>          Components: WS-* Components
>    Affects Versions: 3.1.7, 3.1.8
>         Environment: Windows 7
>            Reporter: Fahrettin Gökgöz
>            Assignee: Freeman Fang
>            Priority: Critical
>              Labels: patch
>
>  org.apache.cxf.wsn.client.Publisher -> SOAP 1.2 binding 
> Following constructor does not allow to set SOAP binding for publisher.
>  public Publisher(Callback callback, String address) {
>         this.callback = callback;
>         this.address = address;
>         if (callback == null || address == null) {
>             this.endpoint = null;
>         } else {
>             this.endpoint = WSNHelper.getInstance().publish(address, this);
>         }
>    }
> Which can be solve in the WSNHelper with using 
> javax.xml.ws.Endpoint.create(String bindingId, Object implementor);
> instead of 
> javax.xml.ws.Endpoint.create(Object implementor);



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message