You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by em...@apache.org on 2015/11/05 10:17:21 UTC

cxf git commit: [CXF-6172]:Restore the wrongly delete line

Repository: cxf
Updated Branches:
  refs/heads/master 66a50dd4b -> b97a0fed6


[CXF-6172]:Restore the wrongly delete line


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

Branch: refs/heads/master
Commit: b97a0fed6d8aed881aca434da97fe5f52d2d8e7e
Parents: 66a50dd
Author: Jim Ma <em...@apache.org>
Authored: Thu Nov 5 17:17:08 2015 +0800
Committer: Jim Ma <em...@apache.org>
Committed: Thu Nov 5 17:17:08 2015 +0800

----------------------------------------------------------------------
 .../apache/cxf/ws/discovery/internal/WSDiscoveryServiceImpl.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/b97a0fed/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 f4348a4..ed86a78 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
@@ -246,6 +246,7 @@ public class WSDiscoveryServiceImpl implements WSDiscoveryService {
                 udpEndpoint = new EndpointImpl(bus, new WSDiscoveryProvider());
                 Map<String, Object> props = new HashMap<String, Object>();
                 props.put("jaxws.provider.interpretNullAsOneway", "true");
+                udpEndpoint.setProperties(props);
                 if ("true".equals(preferIPv6AddressesValue) && "false".equals(preferIPv4StackValue)) {
                     try {
                         udpEndpoint.publish("soap.udp://[FF02::C]:3702");