Return-Path: Delivered-To: apmail-incubator-cxf-dev-archive@locus.apache.org Received: (qmail 91159 invoked from network); 24 Sep 2007 11:21:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Sep 2007 11:21:51 -0000 Received: (qmail 53761 invoked by uid 500); 24 Sep 2007 11:21:42 -0000 Delivered-To: apmail-incubator-cxf-dev-archive@incubator.apache.org Received: (qmail 53713 invoked by uid 500); 24 Sep 2007 11:21:42 -0000 Mailing-List: contact cxf-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-dev@incubator.apache.org Received: (qmail 53704 invoked by uid 99); 24 Sep 2007 11:21:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 04:21:42 -0700 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of bim2007@basistech.com does not designate 199.88.205.99 as permitted sender) Received: from [199.88.205.99] (HELO mail.basistech.com) (199.88.205.99) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Sep 2007 11:23:53 +0000 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: RE: Is the idea of wsdl2java (aegis) really useful? Date: Mon, 24 Sep 2007 07:21:20 -0400 Message-ID: In-Reply-To: <46F733EC.8020201@iona.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Is the idea of wsdl2java (aegis) really useful? Thread-Index: Acf+XraQ/AVxqDb+SRCLgh1xahyY9wAPdXNQ References: <200709211612.22143.dkulp@apache.org> <46F57783.6010508@mulesource.com> <46F733EC.8020201@iona.com> From: "Benson Margulies" To: X-Virus-Checked: Checked by ClamAV on apache.org Jim, I can see your point. On the other hand, unless xjc can be coopted, wsdl->aegis will be a really big project. The doc I've found on xjc is really uninformative, so I have not been able to convince myself that it could be persuaded to write additional files. I suppose that if it would write additional comments we could post-process. I have a strategy in mind if we decide to go here. Step 1 is to define Aegis as being complementary to JAXB instead of completely parallel. Then, step 2 is to implement ->aegis by concentrating on the cases you cite with real value, instead of a complete recreation of xjc. --benson > -----Original Message----- > From: Jim Ma [mailto:ema@iona.com] > Sent: Sunday, September 23, 2007 11:50 PM > To: cxf-dev@incubator.apache.org > Subject: Re: Is the idea of wsdl2java (aegis) really useful? >=20 > Hi Benson , >=20 > As far as I can see , aegis data binding is complementary to JAXB > whether from java-> wsdl or > wsdl-> java direction . >=20 > I have not dug into aegis data binding code to find out if it can do the > following things ,but i think > having these feature in wsdl2java makes sense : > 1. Generating simple code-first-liked java class that easy to understand. > 2. Generating java.util.Data type without add a XmlTypAdaptor > customization to map xsd:dateto java.util.Date > and other thing we need to use jaxb customization to map a shcema > type to a common jdk class. > And also we can use aegis data binding in wsdl first direction as it's a > faster and StAX based data binding . >=20 > Since there are some data types that aegis does not support , maybe > we can add this support in wsdl2java > later. >=20 > Regards >=20 > Jim >=20 >=20 >=20 >=20 > Benson Margulies wrote: > > I trust that our colleagues on the far side of the Pacific are reading > > this thread and will chime in if they disagree, as they were the ones > > who asked me if I intended to proceed to the 'other direction,' I think. > > > > > > > > ________________________________ > > > > From: Dan Diephouse [mailto:dan.diephouse@mulesource.com] > > Sent: Saturday, September 22, 2007 4:14 PM > > To: cxf-dev@incubator.apache.org > > Subject: Re: Is the idea of wsdl2java (aegis) really useful? > > > > > > > > Yeah, I think its definitely a waste of time to do an Aegis > > schema->java. We would gain absolutely no benefit from it as far as I > > can tell :-) > > > > - Dan > > > > Daniel Kulp wrote: > > > > I had this conversation with Dan D. before and the thoughts were pretty > > much exactly the same. If you are generating java code from schema, > > you should use the "standard" JAXB stuff since that supports more of the > > > > schema types than Aegis does. Aegis is primarily targeted for the > > Java first case. Having java -> wsdl tools for it makes sense. > > However, the wsdl -> java stuff makes less sense. > > > > Dan > > > > > > On Friday 21 September 2007, Benson Margulies wrote: > > > > > > I'm wondering why anyone would want this. If the user is going > > to run > > a code generator, what's wrong with JAXB? The virtue of Aegis is > > to > > avoid an infestation of snails (@) in existing code. Once you > > are > > firing up a generator, it's new code. > > > > > > > > I note that Aegis has some not-very-documented capabilities, and > > I > > wonder if some of them are superior to JAXB in some way. > > > > > > > > Do we ever post some sort of [POLL] to the user list asking 'who > > would > > use this feature' questions? > > > > > > > > > > > > > > > > > > > > > > > > > >