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 ga...@apache.org on 2005/01/12 00:27:55 UTC
cvs commit: ws-axis/java/src/org/apache/axis/wsdl/symbolTable SchemaUtils.java
gawor 2005/01/11 15:27:55
Modified: java/src/org/apache/axis/wsdl/symbolTable SchemaUtils.java
Log:
applied 1753, enables proper serialization of choice elements
Revision Changes Path
1.50 +4 -0 ws-axis/java/src/org/apache/axis/wsdl/symbolTable/SchemaUtils.java
Index: SchemaUtils.java
===================================================================
RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/wsdl/symbolTable/SchemaUtils.java,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -r1.49 -r1.50
--- SchemaUtils.java 9 Dec 2004 22:29:59 -0000 1.49
+++ SchemaUtils.java 11 Jan 2005 23:27:55 -0000 1.50
@@ -393,6 +393,10 @@
symbolTable);
if (elem != null) {
+ // XXX: forces minOccurs="0" so that a null choice
+ // element can be serialized ok.
+ elem.setMinOccursIs0(true);
+
v.add(elem);
}
}