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 "St-Germain, Sylvain" <Sy...@cognos.com> on 2002/02/27 18:54:44 UTC
[wsdl2java] combining maxOccurs="0" with maxOccurs="1" generates
data members as arrays, is this normal?
Removing the minOccurs as below fixes it.
I get two strings instead of two arrays of strings, which is what I want.
<complexType name="cookie">
<sequence>
<element name="name" type="xsd:string" maxOccurs="1"/>
<element name="value" type="xsd:string" maxOccurs="1"/>
</sequence>
</complexType>
I think that maxOccurs="1" shouldn't generate an array.
--
Sylvain
This message may contain privileged and/or confidential information. If you
have received this e-mail in error or are not the intended recipient, you
may not use, copy, disseminate or distribute it; do not open any
attachments, delete it immediately from your system and notify the sender
promptly by e-mail that you have done so. Thank you.