Hi Alan, To work with Jibx2Wsdl you just need a service definition class. The binding definition will be created for you, as will the schema and WSDL. Jibx2Wsdl will basically just track references from your service class and build a binding definition for all the data structures used, directly or indirectly. The options give you control over how the data structures are mapped to XML, and also allow you to add information which is missing from the Java data representation (the type of items present in a plain old List, for instance - for Java 5 generic collections, Jibx2Wsdl will pick this up automatically).
It's certainly possible to work directly within Eclipse, though right now there's no automated support for using the tools that way - you'd instead need to run them as applications (or as Eclipse build tools). You should be able to decode the Ant build.xml enough to see the classes being invoked (with <java> elements) and the arguments being passed (which are somewhat documented on the wiki). I'm trying to get the documentation cleaned up for the Jibx2Wsdl tool for a more formal release by the end of this month. - Dennis Dennis M. Sosnoski SOA and Web Services in Java Training and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117 A Sunley wrote: > Greetings Jibx users, > > I'm interested in using Jibx with Axis2, using a 'code-first' approach. But > I must admit I'm struggling somewhat to understand the examples provided. > > I think it's down to my lack of knowledge of using Ant, and having that do > everything it's not clear to me what I need to do to create a service/client > from scratch. > > Any pointers in building a service from scratch would be greatly > appreciated. > > To generate a wsdl (and xsd schema) do I just need to define a service > implementation class and binding file? And is it possible to work entirely > within Eclipse (using the jibx2wsdl functionality), rather than using Ant? > > Thanks, > Alan. > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users