[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/86b169b1 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/86b169b1 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/86b169b1 Branch: refs/heads/2.7.x-fixes Commit: 86b169b162af77b741b819deb132ffc2f24484fc Parents: 82c7115 Author: Jim Ma <[email protected]> Authored: Thu Nov 5 17:17:08 2015 +0800 Committer: Jim Ma <[email protected]> Committed: Thu Nov 5 17:27:31 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/86b169b1/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 89c65e5..452339c 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");
