axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kei...@apache.org
Subject svn commit: r644757 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
Date Fri, 04 Apr 2008 16:23:30 GMT
Author: keithc
Date: Fri Apr  4 09:23:27 2008
New Revision: 644757

URL: http://svn.apache.org/viewvc?rev=644757&view=rev
Log:
Fixing a buh here. We cannot assume always that a endpoint name will be set. Its always better
to check the existance of endpoints in the Map.


Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java?rev=644757&r1=644756&r2=644757&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
(original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/AxisConfiguration.java
Fri Apr  4 09:23:27 2008
@@ -1228,8 +1228,8 @@
     
     private void processEndpoints(AxisService axisService,
     		AxisConfiguration axisConfiguration) throws AxisFault {
-		String endpointName = axisService.getEndpointName();
-		if (endpointName == null || endpointName.length() == 0) {
+        Map enspoints = axisService.getEndpoints();
+        if (enspoints == null || enspoints.size() == 0) {
 			org.apache.axis2.deployment.util.Utils.addEndpointsToService(
 					axisService, axisConfiguration);
 		}



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


Mime
View raw message