Return-Path: Delivered-To: apmail-ws-axis-cvs-archive@www.apache.org Received: (qmail 23452 invoked from network); 6 Oct 2009 15:00:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 6 Oct 2009 15:00:15 -0000 Received: (qmail 27705 invoked by uid 500); 6 Oct 2009 15:00:15 -0000 Delivered-To: apmail-ws-axis-cvs-archive@ws.apache.org Received: (qmail 27546 invoked by uid 500); 6 Oct 2009 15:00:15 -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 27537 invoked by uid 500); 6 Oct 2009 15:00:14 -0000 Delivered-To: apmail-ws-axis2-cvs@ws.apache.org Received: (qmail 27534 invoked by uid 99); 6 Oct 2009 15:00:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 15:00:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Oct 2009 15:00:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4DCDC23888D0; Tue, 6 Oct 2009 14:59:51 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r822304 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java Date: Tue, 06 Oct 2009 14:59:51 -0000 To: axis2-cvs@ws.apache.org From: amilas@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091006145951.4DCDC23888D0@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: amilas Date: Tue Oct 6 14:59:50 2009 New Revision: 822304 URL: http://svn.apache.org/viewvc?rev=822304&view=rev Log: set the nillable attributes to new elements Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java?rev=822304&r1=822303&r2=822304&view=diff ============================================================================== --- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java (original) +++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/description/WSDL11ToAxisServiceBuilder.java Tue Oct 6 14:59:50 2009 @@ -2043,6 +2043,7 @@ xsdPrefix + ":" + XML_SCHEMA_ELEMENT_LOCAL_NAME); // always child attribute should be in no namespace child.setAttribute("form", "unqualified"); + child.setAttribute("nillable", "true"); String prefix; if (XMLSCHEMA_NAMESPACE_URI.equals(schemaTypeName.getNamespaceURI())) {