[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/9b0e4b5d Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/9b0e4b5d Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/9b0e4b5d Branch: refs/heads/3.0.x-fixes Commit: 9b0e4b5d9e078416e466bd060497b4ecddb4b05f Parents: 6c78cdf Author: Jim Ma <[email protected]> Authored: Thu Nov 5 17:17:08 2015 +0800 Committer: Jim Ma <[email protected]> Committed: Thu Nov 5 17:19:44 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/9b0e4b5d/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 00edfe4..ff82f52 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");
