geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1049127 - /geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/JAXWSServiceRefBuilder.java
Date Tue, 14 Dec 2010 15:33:19 GMT
Author: genspring
Date: Tue Dec 14 15:33:19 2010
New Revision: 1049127

URL: http://svn.apache.org/viewvc?rev=1049127&view=rev
Log:
Normalizing a service ref name twice will definitely throw a IllegalArgumentException.

Modified:
    geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/JAXWSServiceRefBuilder.java

Modified: geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/JAXWSServiceRefBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/JAXWSServiceRefBuilder.java?rev=1049127&r1=1049126&r2=1049127&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/JAXWSServiceRefBuilder.java
(original)
+++ geronimo/server/trunk/plugins/jaxws/geronimo-jaxws-builder/src/main/java/org/apache/geronimo/jaxws/builder/JAXWSServiceRefBuilder.java
Tue Dec 14 15:33:19 2010
@@ -99,7 +99,7 @@ public abstract class JAXWSServiceRefBui
     public void buildNaming(ServiceRef serviceRef, GerServiceRefType gerServiceRef, Module
module, Map<EARContext.Key, Object> sharedContext) throws DeploymentException {
         Bundle bundle = module.getEarContext().getDeploymentBundle();
         //TODO normalize or use normalized name from jee's map
-        String name = normalize(getStringValue(serviceRef.getServiceRefName()));
+        String name = serviceRef.getKey();
 
         String serviceInterfaceName = getStringValue(serviceRef.getServiceInterface());
         Class serviceInterfaceClass = loadClass(serviceInterfaceName, bundle, "service");



Mime
View raw message