cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1376926 - in /cxf/trunk/services/ws-discovery: ws-discovery-api/src/main/java/org/apache/cxf/ws/discovery/internal/WSDiscoveryServiceImpl.java ws-discovery-service/src/main/resources/META-INF/cxf/bus-extensions.txt
Date Fri, 24 Aug 2012 14:13:26 GMT
Author: dkulp
Date: Fri Aug 24 14:13:26 2012
New Revision: 1376926

URL: http://svn.apache.org/viewvc?rev=1376926&view=rev
Log:
If a probe doesn't match, return null and treat as a one-way

Modified:
    cxf/trunk/services/ws-discovery/ws-discovery-api/src/main/java/org/apache/cxf/ws/discovery/internal/WSDiscoveryServiceImpl.java
    cxf/trunk/services/ws-discovery/ws-discovery-service/src/main/resources/META-INF/cxf/bus-extensions.txt

Modified: cxf/trunk/services/ws-discovery/ws-discovery-api/src/main/java/org/apache/cxf/ws/discovery/internal/WSDiscoveryServiceImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/services/ws-discovery/ws-discovery-api/src/main/java/org/apache/cxf/ws/discovery/internal/WSDiscoveryServiceImpl.java?rev=1376926&r1=1376925&r2=1376926&view=diff
==============================================================================
--- cxf/trunk/services/ws-discovery/ws-discovery-api/src/main/java/org/apache/cxf/ws/discovery/internal/WSDiscoveryServiceImpl.java
(original)
+++ cxf/trunk/services/ws-discovery/ws-discovery-api/src/main/java/org/apache/cxf/ws/discovery/internal/WSDiscoveryServiceImpl.java
Fri Aug 24 14:13:26 2012
@@ -20,9 +20,11 @@
 package org.apache.cxf.ws.discovery.internal;
 
 import java.io.IOException;
+import java.util.HashMap;
 import java.util.LinkedList;
 import java.util.List;
 import java.util.ListIterator;
+import java.util.Map;
 import java.util.concurrent.CopyOnWriteArrayList;
 
 import javax.xml.bind.JAXBContext;
@@ -140,6 +142,9 @@ public class WSDiscoveryServiceImpl impl
     public synchronized void startup() {
         if (!started) {
             udpEndpoint = Endpoint.create(new WSDiscoveryProvider());
+            Map<String, Object> props = new HashMap<String, Object>();
+            props.put("jaxws.provider.interpretNullAsOneway", "true");
+            udpEndpoint.setProperties(props);
             udpEndpoint.publish("soap.udp://239.255.255.250:3702");
             started = true;
         }

Modified: cxf/trunk/services/ws-discovery/ws-discovery-service/src/main/resources/META-INF/cxf/bus-extensions.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/services/ws-discovery/ws-discovery-service/src/main/resources/META-INF/cxf/bus-extensions.txt?rev=1376926&r1=1376925&r2=1376926&view=diff
==============================================================================
--- cxf/trunk/services/ws-discovery/ws-discovery-service/src/main/resources/META-INF/cxf/bus-extensions.txt
(original)
+++ cxf/trunk/services/ws-discovery/ws-discovery-service/src/main/resources/META-INF/cxf/bus-extensions.txt
Fri Aug 24 14:13:26 2012
@@ -1,2 +1,2 @@
-org.apache.cxf.ws.discovery.WSDiscoveryService::true
+org.apache.cxf.ws.discovery.listeners.WSDiscoveryServerListener::true
 



Mime
View raw message