Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 45202 invoked from network); 7 Jan 2010 11:09:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Jan 2010 11:09:46 -0000 Received: (qmail 18222 invoked by uid 500); 7 Jan 2010 11:09:45 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 18112 invoked by uid 500); 7 Jan 2010 11:09:45 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 18103 invoked by uid 99); 7 Jan 2010 11:09:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2010 11:09:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [212.103.193.198] (HELO mail.cardinis.com) (212.103.193.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jan 2010 11:09:38 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.cardinis.com (Postfix) with ESMTP id F3653629DD7A for ; Thu, 7 Jan 2010 12:09:16 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.cardinis.com Received: from mail.cardinis.com ([127.0.0.1]) by localhost (mail.ost.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HghdUF4zhdUp for ; Thu, 7 Jan 2010 12:09:16 +0100 (CET) Received: from [10.2.1.52] (ws-mauro.ost.lan [10.2.1.52]) by mail.cardinis.com (Postfix) with ESMTP id D9985629DD64 for ; Thu, 7 Jan 2010 12:09:16 +0100 (CET) Message-ID: <4B45C0E3.3010807@cardinis.com> Date: Thu, 07 Jan 2010 12:09:23 +0100 From: Mauro Molinari Organization: Cardinis Solutions User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: axis-dev@ws.apache.org Subject: Re: [Axis2] making minOccurs=1 by default for wsdl generated with POJO References: <4B434B5C.2040507@cardinis.com> <4B435314.90507@cardinis.com> <60708f4b1001052053x74c92480g7e534705539d89c3@mail.gmail.com> <4B45B1CE.50001@cardinis.com> <60708f4b1001070239n45bfbcbdm689be0825ff78fd7@mail.gmail.com> In-Reply-To: <60708f4b1001070239n45bfbcbdm689be0825ff78fd7@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Amila Suriarachchi ha scritto: > On Thu, Jan 7, 2010 at 3:35 PM, Mauro Molinari > > wrote: > > Amila Suriarachchi ha scritto: > > ok then lets make minOccurs = 1 by default. As Sosnoski has said > it is the the best solution. but that make everyone life easier. > > ohh. this should be 'As Sosnoski has said it is not the the best > solution' :) Sorry for mistake. > > thanks, > Amila. Ok, but... given my last comments on the bug report, what is your last committed solution then? Is it: a) "nothing (=> minOccurs=1, nillable=false)" for primitives and "nillable=true (=> still minOccurs=1)" for non-primitives - OR - b) "nothing (=> minOccurs=1, nillable=false)" in any case Thanks. -- Mauro Molinari Software Designer & Developer E-mail: mauro.molinari@cardinis.com