cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r1233171 - /cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/AbstractWSDLBasedEndpointFactory.java
Date Thu, 19 Jan 2012 04:51:22 GMT
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);
         }



Mime
View raw message