You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2014/07/03 16:41:20 UTC

git commit: Force the use of CXF as no other JAX-WS implementation can understand the soap.udp spec

Repository: cxf
Updated Branches:
  refs/heads/master 8394d3a8a -> 2f4bd49c0


Force the use of CXF as no other JAX-WS implementation can understand the soap.udp spec


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/2f4bd49c
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/2f4bd49c
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/2f4bd49c

Branch: refs/heads/master
Commit: 2f4bd49c029551e0d83181bf91164b1baf917a0d
Parents: 8394d3a
Author: Daniel Kulp <dk...@apache.org>
Authored: Thu Jul 3 10:40:37 2014 -0400
Committer: Daniel Kulp <dk...@apache.org>
Committed: Thu Jul 3 10:40:37 2014 -0400

----------------------------------------------------------------------
 .../apache/cxf/ws/discovery/internal/WSDiscoveryServiceImpl.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/2f4bd49c/services/ws-discovery/ws-discovery-api/src/main/java/org/apache/cxf/ws/discovery/internal/WSDiscoveryServiceImpl.java
----------------------------------------------------------------------
diff --git a/services/ws-discovery/ws-discovery-api/src/main/java/org/apache/cxf/ws/discovery/internal/WSDiscoveryServiceImpl.java b/services/ws-discovery/ws-discovery-api/src/main/java/org/apache/cxf/ws/discovery/internal/WSDiscoveryServiceImpl.java
index 45e8078..de8a0e6 100644
--- a/services/ws-discovery/ws-discovery-api/src/main/java/org/apache/cxf/ws/discovery/internal/WSDiscoveryServiceImpl.java
+++ b/services/ws-discovery/ws-discovery-api/src/main/java/org/apache/cxf/ws/discovery/internal/WSDiscoveryServiceImpl.java
@@ -59,6 +59,7 @@ import org.apache.cxf.common.jaxb.JAXBContextCache;
 import org.apache.cxf.common.logging.LogUtils;
 import org.apache.cxf.common.util.StringUtils;
 import org.apache.cxf.endpoint.Server;
+import org.apache.cxf.jaxws.EndpointImpl;
 import org.apache.cxf.jaxws.spi.ProviderImpl;
 import org.apache.cxf.phase.PhaseInterceptorChain;
 import org.apache.cxf.service.model.ServiceModelUtil;
@@ -239,7 +240,7 @@ public class WSDiscoveryServiceImpl implements WSDiscoveryService {
         if (!started && client.isAdHoc()) {
             Bus b = BusFactory.getAndSetThreadDefaultBus(bus);
             try {
-                udpEndpoint = Endpoint.create(new WSDiscoveryProvider());
+                udpEndpoint = new EndpointImpl(bus, new WSDiscoveryProvider());
                 Map<String, Object> props = new HashMap<String, Object>();
                 props.put("jaxws.provider.interpretNullAsOneway", "true");
                 udpEndpoint.setProperties(props);