tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject svn commit: r575362 - /incubator/tuscany/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ServiceClient.java
Date Thu, 13 Sep 2007 16:28:36 GMT
Author: antelder
Date: Thu Sep 13 09:28:35 2007
New Revision: 575362

URL: http://svn.apache.org/viewvc?rev=575362&view=rev
Log:
Fixfor epr's with an empty address

Modified:
    incubator/tuscany/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ServiceClient.java

Modified: incubator/tuscany/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ServiceClient.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ServiceClient.java?rev=575362&r1=575361&r2=575362&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ServiceClient.java
(original)
+++ incubator/tuscany/java/sca/modules/binding-ws-axis2/src/main/java/org/apache/tuscany/sca/binding/ws/axis2/Axis2ServiceClient.java
Thu Sep 13 09:28:35 2007
@@ -195,7 +195,7 @@
         EndpointReference epr = getEPR(binding);
         if (epr == null) {
             epr = getPortLocationEPR(binding);
-        } else if (epr.getAddress() == null) {
+        } else if (epr.getAddress() == null || epr.getAddress().length() < 1) {
             EndpointReference bindingEPR = getPortLocationEPR(binding);
             if (bindingEPR != null) {
                 epr.setAddress(bindingEPR.getAddress());



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message