You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by is...@apache.org on 2011/07/12 07:03:53 UTC

svn commit: r1145456 - /axis/axis2/java/transports/trunk/modules/base/src/main/java/org/apache/axis2/transport/base/AbstractTransportListenerEx.java

Author: isurues
Date: Tue Jul 12 05:03:53 2011
New Revision: 1145456

URL: http://svn.apache.org/viewvc?rev=1145456&view=rev
Log:
removing an unwanted block to remove the part after '/' from the service name. this code breaks the hierarchical service scenario.

Modified:
    axis/axis2/java/transports/trunk/modules/base/src/main/java/org/apache/axis2/transport/base/AbstractTransportListenerEx.java

Modified: axis/axis2/java/transports/trunk/modules/base/src/main/java/org/apache/axis2/transport/base/AbstractTransportListenerEx.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/transports/trunk/modules/base/src/main/java/org/apache/axis2/transport/base/AbstractTransportListenerEx.java?rev=1145456&r1=1145455&r2=1145456&view=diff
==============================================================================
--- axis/axis2/java/transports/trunk/modules/base/src/main/java/org/apache/axis2/transport/base/AbstractTransportListenerEx.java (original)
+++ axis/axis2/java/transports/trunk/modules/base/src/main/java/org/apache/axis2/transport/base/AbstractTransportListenerEx.java Tue Jul 12 05:03:53 2011
@@ -100,10 +100,6 @@ public abstract class AbstractTransportL
 
     @Override
     public EndpointReference[] getEPRsForService(String serviceName, String ip) throws AxisFault {
-        //Strip out the operation name
-        if (serviceName.indexOf('/') != -1) {
-            serviceName = serviceName.substring(0, serviceName.indexOf('/'));
-        }
         // strip out the endpoint name if present
         if (serviceName.indexOf('.') != -1) {
             serviceName = serviceName.substring(0, serviceName.indexOf('.'));