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 ve...@apache.org on 2005/07/18 13:16:13 UTC
cvs commit: ws-axis/java junit-exclude-tests.txt
venkat 2005/07/18 04:16:12
Modified: java/src/org/apache/axis/wsdl/symbolTable Utils.java
java junit-exclude-tests.txt
Log:
Fix for AXIS-2107 (Amazon wsdl):
- Remove the exclusion of anonymous types while generating sources in case of Wrapped services. Need this until a fix is made for correct identification of anonymous types.
- Exclude the testcase that checks against generation of classes for anonymous types in case of Wrapped services.
Revision Changes Path
1.46 +6 -2 ws-axis/java/src/org/apache/axis/wsdl/symbolTable/Utils.java
Index: Utils.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/wsdl/symbolTable/Utils.java,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- Utils.java 3 Jun 2005 22:23:50 -0000 1.45
+++ Utils.java 18 Jul 2005 11:15:41 -0000 1.46
@@ -528,12 +528,16 @@
// All types are derived from anyType, except anonymous ones
final Collection typeValues = symbolTable.getTypeIndex().values();
- for (Iterator it = typeValues.iterator(); it.hasNext();) {
+ types.addAll(symbolTable.getTypeIndex().values());
+
+ // Currently we are unable to mark anonymous types correctly.
+ // So, this filtering has to wait until a fix is made.
+/* for (Iterator it = typeValues.iterator(); it.hasNext();) {
SymTabEntry e = (SymTabEntry) it.next();
if (! e.getQName().getLocalPart().startsWith(SymbolTable.ANON_TOKEN))
types.add(e);
}
- }
+*/ }
return types;
} // getNestedTypes
1.7 +1 -1 ws-axis/java/junit-exclude-tests.txt
Index: junit-exclude-tests.txt
===================================================================
RCS file: /home/cvs/ws-axis/java/junit-exclude-tests.txt,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- junit-exclude-tests.txt 8 Jun 2005 03:53:28 -0000 1.6
+++ junit-exclude-tests.txt 18 Jul 2005 11:15:55 -0000 1.7
@@ -3,4 +3,4 @@
**/test/wsdl/soap12/additional/*.*
**/test/wsdl/literal/*.*
#**/test/wsdl/query/QueryTestServiceTestCase.*
-
+**/test/wsdl/query/FileGenWrappedTestCase.*