axis-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ami...@apache.org
Subject svn commit: r921694 - /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java
Date Thu, 11 Mar 2010 05:19:48 GMT
Author: amilas
Date: Thu Mar 11 05:19:48 2010
New Revision: 921694

URL: http://svn.apache.org/viewvc?rev=921694&view=rev
Log:
fixed issue AXIS2-4650

Modified:
    axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java

Modified: axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java?rev=921694&r1=921693&r2=921694&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java
(original)
+++ axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java
Thu Mar 11 05:19:48 2010
@@ -629,7 +629,7 @@ public class DefaultSchemaGenerator impl
             throws Exception {
         String propertyName;
         if (isArrayType) {
-            propertyName = type.getComponentType().getName();
+            propertyName = getClassName(type.getComponentType());
             if (type.getComponentType().isArray()) {
                 // this is a double array element
                 Class<?> simpleType = type.getComponentType();
@@ -689,7 +689,7 @@ public class DefaultSchemaGenerator impl
                 return;
             }
         } else {
-            propertyName = type.getName();
+            propertyName = getClassName(type);
         }
         if (isArrayType && "byte".equals(propertyName)) {
             propertyName = "base64Binary";



Mime
View raw message