You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2006/10/30 12:15:06 UTC
svn commit: r469122 -
/webservices/axis2/branches/java/1_1/modules/adb-codegen/src/org/apache/axis2/schema/SchemaCompiler.java
Author: dims
Date: Mon Oct 30 03:15:06 2006
New Revision: 469122
URL: http://svn.apache.org/viewvc?view=rev&rev=469122
Log:
Fix for AXIS2-1530 - Error in WSDL2Java generating classes for the OTA specification
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=469122&r1=469121&r2=469122
==============================================================================
--- 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 Mon Oct 30 03:15:06 2006
@@ -1053,7 +1053,7 @@
//process the base type if it has not been processed yet
if (!isAlreadyProcessed(restriction.getBaseTypeName())){
//pick the relevant basetype from the schema and process it
- XmlSchemaType type= parentSchema.getTypeByName(restriction.getBaseTypeName());
+ XmlSchemaType type = getType(parentSchema, restriction.getBaseTypeName());
if (type instanceof XmlSchemaComplexType) {
XmlSchemaComplexType complexType = (XmlSchemaComplexType) type;
if (complexType.getName() != null) {
@@ -1164,7 +1164,7 @@
//process the base type if it has not been processed yet
if (!isAlreadyProcessed(extension.getBaseTypeName())){
//pick the relevant basetype from the schema and process it
- XmlSchemaType type= parentSchema.getTypeByName(extension.getBaseTypeName());
+ XmlSchemaType type = getType(parentSchema,extension.getBaseTypeName());
if (type instanceof XmlSchemaComplexType) {
XmlSchemaComplexType complexType = (XmlSchemaComplexType) type;
if (complexType.getName() != null) {
@@ -1206,7 +1206,7 @@
//process the base type if it has not been processed yet
if (!isAlreadyProcessed(restriction.getBaseTypeName())){
//pick the relevant basetype from the schema and process it
- XmlSchemaType type= parentSchema.getTypeByName(restriction.getBaseTypeName());
+ XmlSchemaType type = getType(parentSchema,restriction.getBaseTypeName());
if (type instanceof XmlSchemaComplexType) {
XmlSchemaComplexType complexType = (XmlSchemaComplexType) type;
if (complexType.getName() != null) {
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org