Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 72857 invoked from network); 21 Jun 2006 06:59:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Jun 2006 06:59:05 -0000 Received: (qmail 99166 invoked by uid 500); 21 Jun 2006 06:59:04 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 99088 invoked by uid 500); 21 Jun 2006 06:59:04 -0000 Mailing-List: contact axis-cvs-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-cvs@ws.apache.org Received: (qmail 99077 invoked by uid 500); 21 Jun 2006 06:59:04 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 99074 invoked by uid 99); 21 Jun 2006 06:59:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jun 2006 23:59:04 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jun 2006 23:59:03 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 7821A1A983A; Tue, 20 Jun 2006 23:58:43 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r415928 - /webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl Date: Wed, 21 Jun 2006 06:58:43 -0000 To: axis2-cvs@ws.apache.org From: ajith@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060621065843.7821A1A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: ajith Date: Tue Jun 20 23:58:42 2006 New Revision: 415928 URL: http://svn.apache.org/viewvc?rev=415928&view=rev Log: 1. Fixing a wrongful handling of OMElement in OMElements inside the new ADB getOMElement method Modified: webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl Modified: webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl?rev=415928&r1=415927&r2=415928&view=diff ============================================================================== --- webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl (original) +++ webservices/axis2/trunk/java/modules/adb-codegen/src/org/apache/axis2/schema/template/ADBBeanTemplate.xsl Tue Jun 20 23:58:42 2006 @@ -341,18 +341,58 @@ } + for (int i = 0;i < .length;i++){ [i].getOMElement( new javax.xml.namespace.QName("",""), factory).serialize(xmlWriter); + } } - + + + + + // this property is nillable + if (!=null){ + + + + if (==null){ + throw new RuntimeException(" cannot be null!!"); + } + + + + for (int i = 0;i < .length;i++){ + [i].serialize(xmlWriter); + } + + } + + } + + + + - .serialize(xmlWriter); + + + // this property is nillable + if (!=null){ + + + + if (==null){ + throw new RuntimeException(" cannot be null!!"); + } + + + .serialize(xmlWriter); + } --------------------------------------------------------------------- To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org For additional commands, e-mail: axis-cvs-help@ws.apache.org