Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 33990 invoked from network); 18 Feb 2009 20:27:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Feb 2009 20:27:57 -0000 Received: (qmail 55048 invoked by uid 500); 18 Feb 2009 20:27:48 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 55016 invoked by uid 500); 18 Feb 2009 20:27:48 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 54996 invoked by uid 99); 18 Feb 2009 20:27:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Feb 2009 12:27:48 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of learnspring@gmail.com designates 209.85.128.186 as permitted sender) Received: from [209.85.128.186] (HELO fk-out-0910.google.com) (209.85.128.186) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Feb 2009 20:27:41 +0000 Received: by fk-out-0910.google.com with SMTP id 26so76050fkx.0 for ; Wed, 18 Feb 2009 12:27:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=NXxm6Hs2+B9kGbygXA3uWJK2h4Io2maWpbdWMcMaZAc=; b=NV5X1pp1aicnZoDgfqfhp6YN2PrrDKR5rrQLq9fLsWbUKBrswVtRMmeYx/o5SrvOjN sHqnuLwvTNnsJ+jUDoNah6x64zgaSFXbneXGOtNaGf3DU1NfK0IE49ahE5JRFhvt2TU8 HWevBdx6gY0TktUpc6HVhboXsE43KKtvsiIVQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=RBHsof5ZSl0mNNyLQR0QrSVfvAn6lHHqVK6ob2GF1ZMVoGdeyh5r0L5HEky+fRSM3E ++o/3XKEY9b+yssp1RoSn2ALP6pjM2DY1ZshnWUYE4NKW2P85Xw1RhaDneXuG9Eill7F tuToFjMpFyomI4wjC0cHXqME0Oqrs+WSnTV+I= MIME-Version: 1.0 Received: by 10.181.226.19 with SMTP id d19mr630515bkr.38.1234988839934; Wed, 18 Feb 2009 12:27:19 -0800 (PST) Date: Wed, 18 Feb 2009 15:27:19 -0500 Message-ID: Subject: Wsdl2Java and Default Values in Schema From: Ashish Soni To: axis-user@ws.apache.org Content-Type: multipart/alternative; boundary=0016368e2b161b1c4c0463373fdb X-Virus-Checked: Checked by ClamAV on apache.org --0016368e2b161b1c4c0463373fdb Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi , I am having some default values in XML schema and when i a generate java object from the WSDL i cant see the default values , Can some one please let me know what the problem or how to fix this. Regards, Ashish Soni --0016368e2b161b1c4c0463373fdb Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi ,

I am having some default values in XML schema and when i a gen= erate java object from the WSDL i cant see the default values  , Can s= ome one please let me know what the problem or how to fix this.

<= xs:complexType name=3D"RptFmt">
               = <xs:choice>
          &nb= sp;         <xs:element name=3D"PDF&q= uot; type=3D"xs:string" default=3D"PDF"  />
=                =     <xs:element name=3D"CSV" type=3D"xs:s= tring" />
               = </xs:choice>
</xs:complexType>

Regards,
Ashish So= ni
--0016368e2b161b1c4c0463373fdb--