cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1521226 - /cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java
Date Mon, 09 Sep 2013 18:24:26 GMT
Author: dkulp
Date: Mon Sep  9 18:24:26 2013
New Revision: 1521226

URL: http://svn.apache.org/r1521226
Log:
[CXF-4999] Make sure the endpoint property is set even if wsdlLocation is null

Modified:
    cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java

Modified: cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java?rev=1521226&r1=1521225&r2=1521226&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java (original)
+++ cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java Mon Sep
 9 18:24:26 2013
@@ -337,8 +337,10 @@ public class EndpointImpl extends javax.
                 if (!endpointInfo.getAddress().contains(addr)) {
                     endpointInfo.setAddress(addr);
                 }
-                if (publishedEndpointUrl != null && wsdlLocation != null) {
+                if (publishedEndpointUrl != null) {
                     endpointInfo.setProperty(WSDLGetUtils.PUBLISHED_ENDPOINT_URL, publishedEndpointUrl);
+                }
+                if (publishedEndpointUrl != null && wsdlLocation != null) {
                     //early update the publishedEndpointUrl so that endpoints in the same
app sharing the same wsdl
                     //do not require all of them to be queried for wsdl before the wsdl is
finally fully updated
                     Definition def = endpointInfo.getService()



Mime
View raw message