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/5576b8d1
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/5576b8d1
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/5576b8d1
Branch: refs/heads/2.7.x-fixes
Commit: 5576b8d197dde379b113c749dfb21f19628d913c
Parents: 8328d99
Author: Daniel Kulp <dkulp@apache.org>
Authored: Thu Jul 3 10:40:37 2014 -0400
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Thu Jul 3 10:44:23 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/5576b8d1/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 c9f0124..fde081a 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;
@@ -240,7 +241,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);
|