Looks like I was wrong about WSGen not using XJC... -denis
> -------- Original Message -------- > Subject: Re: [xfire-user] JAXB "external binding declaration" and XFire > wsgen? > From: Dan Diephouse <[EMAIL PROTECTED]> > Date: Wed, March 15, 2006 10:53 am > To: [email protected] > > Andreas Schildbach wrote: > > > Hello Denis, > > > >> This "external bindings declaration" is just a file used at compilation > >> time. Pass it to xjc (JAXB's binding compiler) and it will generate > >> classes in the proper packages. > > > > > > The question is how can I pass the file to xjc, when I am not directly > > using xjc but XFire's "wsgen" instead? Is wsgen even using xjc > > internally? > > > > Regards, > > > > Andreas > > WSGen is using XJC via its API internally. We just need to pass off the > binding files to it. This is where the magic happens: > > http://svn.xfire.codehaus.org/viewrep/xfire/trunk/xfire/xfire-generator/src/main/org/codehaus/xfire/gen/jaxb/JAXBSchemaSupport.java?r=1282 > > As you can see, I have some code commented out there which passes the > jaxb binding files. We just need to enable it and provide a way to > provide to tell WSGen about the files. > > - Dan > > -- > Dan Diephouse > (616) 971-2053 > Envoi Solutions LLC > http://netzooid.com
