You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2013/09/09 20:24:26 UTC
svn commit: r1521226 -
/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/EndpointImpl.java
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()