You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2012/01/19 05:51:22 UTC
svn commit: r1233171 -
/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/AbstractWSDLBasedEndpointFactory.java
Author: ffang
Date: Thu Jan 19 04:51:21 2012
New Revision: 1233171
URL: http://svn.apache.org/viewvc?rev=1233171&view=rev
Log:
[CXF-4044]ensure publishedEndpointUrl property could be set to endpoint
Modified:
cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/AbstractWSDLBasedEndpointFactory.java
Modified: cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/AbstractWSDLBasedEndpointFactory.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/AbstractWSDLBasedEndpointFactory.java?rev=1233171&r1=1233170&r2=1233171&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/AbstractWSDLBasedEndpointFactory.java (original)
+++ cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/AbstractWSDLBasedEndpointFactory.java Thu Jan 19 04:51:21 2012
@@ -157,6 +157,10 @@ public abstract class AbstractWSDLBasedE
ei.setAddress(getAddress());
}
+ if (publishedEndpointUrl != null && !"".equals(publishedEndpointUrl)) {
+ ei.setProperty("publishedEndpointUrl", publishedEndpointUrl);
+ }
+
if (endpointReference != null) {
ei.setAddress(endpointReference);
}
@@ -294,10 +298,6 @@ public abstract class AbstractWSDLBasedE
ei.setAddress(getAddress());
ei.setBinding(bindingInfo);
- if (publishedEndpointUrl != null && !"".equals(publishedEndpointUrl)) {
- ei.setProperty("publishedEndpointUrl", publishedEndpointUrl);
- }
-
if (wsdlEndpointFactory != null) {
wsdlEndpointFactory.createPortExtensors(ei, service);
}