|  | Going further
In this tutorial, you've learned the basics of using JiBX to generate a Java data model
from an XML schema definition first and then convert documents matching that schema to
and from the data model. You have also seen examples of using customizations to control how the data model is generated. There are many other customizations you can use to control different aspects of the data model, beyond those I've covered in this tutorial. The JiBX documentation provides full details on all these customization options, along with more examples of code generation from schema.
Web service definitions are one of the main uses of XML schemas. JiBX can currently be
used within the Apache Axis2, Apache CXF, XFire, and Spring-WS Web services stacks,
and it also supports its own lightweight Web services engine in the form of JiBX/WS.
You can use the code-generation-from-schema features discussed in this tutorial within
any of these Web services stacks, though you'll currently need to extract the schema definition from the Web Services Description Language (WSDL) service definition before it can be generated. You also need to go through additional steps for each stack to get to a working Web service. Future releases of JiBX will simplify the process of creating Web services implementations, so check the documentation in your JiBX distribution to find out about any new features in this area.
|  |
|