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 gd...@apache.org on 2002/04/24 19:34:26 UTC
cvs commit: xml-axis/java/src/org/apache/axis/encoding/ser ArraySerializer.java
gdaniels 02/04/24 10:34:26
Modified: java/src/org/apache/axis/encoding/ser ArraySerializer.java
Log:
Don't check for an exact match with SOAP_ARRAY, since this causes
failures with some WSDL array types.
Revision Changes Path
1.17 +1 -2 xml-axis/java/src/org/apache/axis/encoding/ser/ArraySerializer.java
Index: ArraySerializer.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/encoding/ser/ArraySerializer.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ArraySerializer.java 16 Apr 2002 20:26:32 -0000 1.16
+++ ArraySerializer.java 24 Apr 2002 17:34:25 -0000 1.17
@@ -127,8 +127,7 @@
// This won't handle Lists of Lists or
// arrays of Lists....only arrays of arrays.
String dims = "";
- while (componentType.isArray() &&
- context.getQNameForClass(componentType).equals(Constants.SOAP_ARRAY)) {
+ while (componentType.isArray()) {
componentType = componentType.getComponentType();
dims += "[]";
}