geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r543028 - in /geronimo/server/trunk/modules: geronimo-axis-builder/src/main/java/org/apache/geronimo/axis/builder/ geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/
Date Thu, 31 May 2007 02:57:52 GMT
Author: gawor
Date: Wed May 30 19:57:52 2007
New Revision: 543028

URL: http://svn.apache.org/viewvc?view=rev&rev=543028
Log:
prepend / to the endpoint uri if missing

Modified:
    geronimo/server/trunk/modules/geronimo-axis-builder/src/main/java/org/apache/geronimo/axis/builder/AxisModuleBuilderExtension.java
    geronimo/server/trunk/modules/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/JAXWSEJBModuleBuilderExtension.java

Modified: geronimo/server/trunk/modules/geronimo-axis-builder/src/main/java/org/apache/geronimo/axis/builder/AxisModuleBuilderExtension.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-axis-builder/src/main/java/org/apache/geronimo/axis/builder/AxisModuleBuilderExtension.java?view=diff&rev=543028&r1=543027&r2=543028
==============================================================================
--- geronimo/server/trunk/modules/geronimo-axis-builder/src/main/java/org/apache/geronimo/axis/builder/AxisModuleBuilderExtension.java
(original)
+++ geronimo/server/trunk/modules/geronimo-axis-builder/src/main/java/org/apache/geronimo/axis/builder/AxisModuleBuilderExtension.java
Wed May 30 19:57:52 2007
@@ -84,7 +84,11 @@
            for (WebServiceBindingType bt : geronimoEjbJarType.getWebServiceBinding()) {
                String location = bt.getWebServiceAddress();
                if (location != null) {
-                   correctedPortLocations.put(bt.getEjbName(), location.trim());
+                   location = location.trim();
+                   if (!location.startsWith("/")) {
+                       location = "/" + location;
+                   }
+                   correctedPortLocations.put(bt.getEjbName(), location);
                }
            }
         }

Modified: geronimo/server/trunk/modules/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/JAXWSEJBModuleBuilderExtension.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/JAXWSEJBModuleBuilderExtension.java?view=diff&rev=543028&r1=543027&r2=543028
==============================================================================
--- geronimo/server/trunk/modules/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/JAXWSEJBModuleBuilderExtension.java
(original)
+++ geronimo/server/trunk/modules/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/JAXWSEJBModuleBuilderExtension.java
Wed May 30 19:57:52 2007
@@ -103,7 +103,11 @@
            for (WebServiceBindingType bt : geronimoEjbJarType.getWebServiceBinding()) {
                String location = bt.getWebServiceAddress();
                if (location != null) {
-                   correctedPortLocations.put(bt.getEjbName(), location.trim());
+                   location = location.trim();
+                   if (!location.startsWith("/")) {
+                       location = "/" + location;
+                   }
+                   correctedPortLocations.put(bt.getEjbName(), location);
                }
            }
         }      



Mime
View raw message