Return-Path: Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: (qmail 21520 invoked from network); 24 Mar 2009 15:34:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Mar 2009 15:34:27 -0000 Received: (qmail 3291 invoked by uid 500); 24 Mar 2009 15:34:27 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 3240 invoked by uid 500); 24 Mar 2009 15:34:27 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Received: (qmail 3230 invoked by uid 99); 24 Mar 2009 15:34:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2009 15:34:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [204.29.134.135] (HELO nmr.amfam.com) (204.29.134.135) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Mar 2009 15:34:19 +0000 X-IronPort-AV: E=Sophos;i="4.38,413,1233554400"; d="scan'208";a="11437016" Received: from gw2.amfam.com (HELO rsgrl1coex01gw2.corporate.amfam.com) ([10.74.32.11]) by nmr.amfam.com with ESMTP; 24 Mar 2009 10:33:46 -0500 Received: from NHQ1ACCOEX06VS1.corporate.amfam.com ([10.74.32.85]) by rsgrl1coex01gw2.corporate.amfam.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 24 Mar 2009 10:33:45 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: wsdl2java<-->XJC "Options" being passed to SchemaCompiler does not seem to have effect Date: Tue, 24 Mar 2009 10:33:04 -0500 Message-ID: In-Reply-To: <200903241125.19986.dkulp@apache.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: wsdl2java<-->XJC "Options" being passed to SchemaCompiler does not seem to have effect Thread-Index: AcmslNm0c6q8Jzw1RJed7b3DIxz3LQAAB2VQ References: <61b5d9410903230513u37e17283w6f9a1ad70f5c358a@mail.gmail.com> <61b5d9410903231732p10728c9cu5393091d60c4084d@mail.gmail.com> <61b5d9410903240400s5d42b940t7795652bdbfc35d4@mail.gmail.com> <200903241125.19986.dkulp@apache.org> From: "Rao, Sameer V" To: X-OriginalArrivalTime: 24 Mar 2009 15:33:45.0951 (UTC) FILETIME=[EB986EF0:01C9AC95] X-Virus-Checked: Checked by ClamAV on apache.org I was looking at the JAXBDataBinding class (cxf-tools-wsdlto-databinding-jaxb) and was not sure of the following- 1. We are building Options used by SchemaCompiler and calling its parseArgument(). However, values passed through that argument list don't seem to take any effect? Example the following- =09 ${basedir}/src/main/resources/MyService.wsdl -xjc -verbose, -p org.myapps.entities =20 Looking at the code in JAXBDataBinding, the call to opts.parseArguments(args) should pass the above values to XJC and they should have the intended effect. But I don't see it having. 2. In JAXBDataBinding we pass the schemas to XJC by the call- addSchemas(opts, schemaCompiler, schemaLists); i.e. pass the schema list. Would we gain any benefit by passing the WSDL itself? I read the XJC accepts a WSDL with a -WSDL option?