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 06:36:12 UTC

svn commit: r1233186 - in /cxf/branches/2.3.x-fixes: ./ rt/frontend/simple/src/main/java/org/apache/cxf/frontend/AbstractWSDLBasedEndpointFactory.java

Author: ffang
Date: Thu Jan 19 05:36:12 2012
New Revision: 1233186

URL: http://svn.apache.org/viewvc?rev=1233186&view=rev
Log:
Merged revisions 1233179 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/branches/2.4.x-fixes

................
  r1233179 | ffang | 2012-01-19 13:15:38 +0800 (四, 19  1 2012) | 16 lines
  
  Merged revisions 1233178 via svnmerge from 
  https://svn.apache.org/repos/asf/cxf/branches/2.5.x-fixes
  
  ................
    r1233178 | ffang | 2012-01-19 13:07:29 +0800 (四, 19  1 2012) | 9 lines
    
    Merged revisions 1233171 via svnmerge from 
    https://svn.apache.org/repos/asf/cxf/trunk
    
    ........
      r1233171 | ffang | 2012-01-19 12:51:21 +0800 (四, 19  1 2012) | 1 line
      
      [CXF-4044]ensure publishedEndpointUrl property could be set to endpoint
    ........
  ................
................

Modified:
    cxf/branches/2.3.x-fixes/   (props changed)
    cxf/branches/2.3.x-fixes/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/AbstractWSDLBasedEndpointFactory.java

Propchange: cxf/branches/2.3.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.3.x-fixes/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/AbstractWSDLBasedEndpointFactory.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/AbstractWSDLBasedEndpointFactory.java?rev=1233186&r1=1233185&r2=1233186&view=diff
==============================================================================
--- cxf/branches/2.3.x-fixes/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/AbstractWSDLBasedEndpointFactory.java (original)
+++ cxf/branches/2.3.x-fixes/rt/frontend/simple/src/main/java/org/apache/cxf/frontend/AbstractWSDLBasedEndpointFactory.java Thu Jan 19 05:36:12 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);
         }
@@ -293,10 +297,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);
         }