[ 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)