[jbossws-commits] JBossWS SVN: r3590 - branches/maeste_palin/integration/spi/src/main/java/org/jboss/wsf/spi/invocation.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Fri Jun 15 04:01:11 EDT 2007


Author: palin
Date: 2007-06-15 04:01:11 -0400 (Fri, 15 Jun 2007)
New Revision: 3590

Modified:
   branches/maeste_palin/integration/spi/src/main/java/org/jboss/wsf/spi/invocation/EndpointServlet.java
Log:
Fix contextPath comparison (contextPath beginning with /)


Modified: branches/maeste_palin/integration/spi/src/main/java/org/jboss/wsf/spi/invocation/EndpointServlet.java
===================================================================
--- branches/maeste_palin/integration/spi/src/main/java/org/jboss/wsf/spi/invocation/EndpointServlet.java	2007-06-15 07:54:32 UTC (rev 3589)
+++ branches/maeste_palin/integration/spi/src/main/java/org/jboss/wsf/spi/invocation/EndpointServlet.java	2007-06-15 08:01:11 UTC (rev 3590)
@@ -89,6 +89,8 @@
       {
          String propContext = sepId.getKeyProperty(Endpoint.SEPID_PROPERTY_CONTEXT);
          String propEndpoint = sepId.getKeyProperty(Endpoint.SEPID_PROPERTY_ENDPOINT);
+         if (propContext.startsWith("/"))
+            propContext = propContext.substring(1);
          if (servletName.equals(propEndpoint) && contextPath.equals(propContext))
          {
             endpoint = epRegistry.getEndpoint(sepId);




More information about the jbossws-commits mailing list