Hi Andreas, "wsgen" is not using XJC. So far, JAXB only generates code based on XML Schemas not WSDLs. There is some experimental support for WSDLs but I didn't try it.
Here is how you can invoke XJC from ANT and pass it the external binding file: <xjc target="src"> <schema dir="src" includes="*.xsd"/> <binding dir="src" includes="mybinding.xjb"/> </xjc> You can learn more about the XJC task here: http://java.sun.com/webservices/docs/2.0/jaxb/xjcTask.html -denis > -------- Original Message -------- > Subject: Re: [xfire-user] JAXB "external binding declaration" and XFire > wsgen? > From: Andreas Schildbach <[EMAIL PROTECTED]> > Date: Wed, March 15, 2006 9:38 am > To: [email protected] > > 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
