Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 65811 invoked by uid 500); 27 Feb 2002 17:57:13 -0000 Mailing-List: contact axis-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@xml.apache.org Received: (qmail 65802 invoked from network); 27 Feb 2002 17:57:13 -0000 Message-ID: From: "St-Germain, Sylvain" To: "Axis Dev (E-mail)" Subject: [wsdl2java] combining maxOccurs="0" with maxOccurs="1" generates data members as arrays, is this normal? Date: Wed, 27 Feb 2002 12:54:44 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Removing the minOccurs as below fixes it. I get two strings instead of two arrays of strings, which is what I want. 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.