You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2006/11/29 15:38:42 UTC
svn commit: r480583 -
/webservices/axis2/branches/java/1_1/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
Author: dims
Date: Wed Nov 29 06:38:41 2006
New Revision: 480583
URL: http://svn.apache.org/viewvc?view=rev&rev=480583
Log:
Fix for AXIS2-1780 - WSDL2JAVA fails with multiple anonymous simple types
Modified:
webservices/axis2/branches/java/1_1/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
Modified: webservices/axis2/branches/java/1_1/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java?view=diff&rev=480583&r1=480582&r2=480583
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java (original)
+++ webservices/axis2/branches/java/1_1/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java Wed Nov 29 06:38:41 2006
@@ -662,9 +662,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