geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r518818 - /geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/AxisServiceGenerator.java
Date Fri, 16 Mar 2007 00:47:50 GMT
Author: gawor
Date: Thu Mar 15 17:47:49 2007
New Revision: 518818

URL: http://svn.apache.org/viewvc?view=rev&rev=518818
Log:
applied GERONIMO-2961 path

Modified:
    geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/AxisServiceGenerator.java

Modified: geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/AxisServiceGenerator.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/AxisServiceGenerator.java?view=diff&rev=518818&r1=518817&r2=518818
==============================================================================
--- geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/AxisServiceGenerator.java
(original)
+++ geronimo/server/trunk/modules/geronimo-axis2/src/main/java/org/apache/geronimo/axis2/AxisServiceGenerator.java
Thu Mar 15 17:47:49 2007
@@ -221,8 +221,7 @@
                 Class[] paramTypes = method.getParameterTypes();
                     
                 for(Class paramType : paramTypes){
-                    String strParamType = paramType.toString();
-                    pdc.setParameterType(strParamType.split(" ")[1]);
+                    pdc.setParameterType(paramType.getName());
                 }
                     
                 mdc.addParameterDescriptionComposite(pdc);
@@ -235,7 +234,7 @@
             if(outAxisMessage != null){
                  
                 if(!method.getReturnType().toString().equals("void")){
-                    mdc.setReturnType(method.getReturnType().toString().split(" ")[1]);
+                    mdc.setReturnType(method.getReturnType().getName());
                      
                     XmlSchemaElement element = outAxisMessage.getSchemaElement();
                     XmlSchemaType schemaType = element.getSchemaType();



Mime
View raw message