axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r480584 - /webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
Date Wed, 29 Nov 2006 14:39:08 GMT
Author: dims
Date: Wed Nov 29 06:39:08 2006
New Revision: 480584

URL: http://svn.apache.org/viewvc?view=rev&rev=480584
Log:
Fix for AXIS2-1780 - WSDL2JAVA fails with multiple anonymous simple types

Modified:
    webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java

Modified: webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java?view=diff&rev=480584&r1=480583&r2=480584
==============================================================================
--- webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
(original)
+++ webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
Wed Nov 29 06:39:08 2006
@@ -652,9 +652,9 @@
                     //processedAnonymousComplexTypesMap.remove(referencedElement);
 
                     //add this to the processed ref type map
-                    this.processedElementRefMap.put(referenceEltQName,findClassName(
-                            referenceSchemaType.getQName(), isArray(referencedElement)
-                    ));
+                    String fullyQualifiedClassName = writer.makeFullyQualifiedClassName(generatedTypeName);
+                    processedTypemap.put(generatedTypeName, fullyQualifiedClassName);
+                    this.processedElementRefMap.put(referenceEltQName, fullyQualifiedClassName);
                 }
             }
             // schema type name is present but not the schema type object



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message