<off-topic> Hi Ashley, FWIW, given that (it sounds like) you are at the beginnings of hatching a data model (or rather a "data-transfer-object" model) -- I would highly recommend using WSDLs as teh primary artifact over XSDs (since you say this is for web services). WSDLs are an IDL -- where XSDs are just a part of the picture (the arguments).
JAXB2 can consume WSDLs, although it is not widely advertized. And (AFAIK) JAXB2 does not suffer from some of the glaring warts of JAXB1. But keep in mind JAXB2 requires JDK 1.5. I tend to use Axis' WSDL2Java to generate my "XML Beans" It works against all of the WSDLs/XSDs we've put to it. We had many issues w/ JAXB1. If I were looking only at XSD to Java code generators, I would likely choose XMLBeans over JAXB. Cheers, -- Chris </off-topic> On 10/3/05, Ashley Williams <[EMAIL PROTECTED]> wrote: > > Thanks Chris, though I'm not doing anything so heavyweight! I'm just > trying to put an end to > the days where I have to roll my own java data model from xml. > > There is something going down for jaxb because I came across the > following link: > http://jira.codehaus.org/browse/MEV-71?page=all > so I think that because of licensing issues I'm supposed to create my > own artifact for jaxb > using this pom and my downloaded xjc jar file. > > As for wsdl, not using it yet simply because there aren't 37 hours in > a day to look at it, but it's > definitely on my radar ;) > > Cheers > AW > > On 3 Oct 2005, at 17:27, Chris Berry wrote: > > > Hi Ashley, > > There may be a JAXB plugin that I'm unaware of ?? > > There is an Axis WSDL2Java plugin at > > mojo.codehaus.org<http://mojo.codehaus.org> > <http:// > > mojo.codehaus.org <http://mojo.codehaus.org>> > > . > > I have also written a WSDL2Java plugin that actually just offloads > > to an Ant > > build file to do all of the work. You could easily canibalize my > > work for > > JAXB. (It's in JIRA) The steps are essentially the same. > > > > BTW: Are you using JAXB2 and WSDLs?? > > Cheers, > > -- Chris > > > > On 10/3/05, Ashley Williams <[EMAIL PROTECTED]> wrote: > > > >> > >> I need to do some work with the java web services libraries, starting > >> with some simple jaxb stuff so that I can generate my binding classes > >> early on in the lifecycle. Is anything in development I can use, even > >> if it means pulling code out of a svn repository? > >> > >> Thanks > >> AW > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
