Data bindings implement the mapping between XML elements and Java objects. Data bindings convert data to and from XML, produce XML schema, and provide support for wsdl2java code generation. Not all data bindings support all of this functionality. At very least, a data binding must provide the data conversion. See Data Binding Architecture for details. Currently supported data bindings include JAXB 2.x (default) , Aegis, Apache XMLBeans, Service Data Objects (SDO) and JiBX (under development)and Aegis.
Bindings provide ways to map concrete formats and protocols on top of transports. A binding contains two main parts, a
BindingFactory and a
BindingFactory builds a
Binding from the service model's
BindingInfo. The binding contains interceptors specific to the binding and also implements the
createMessage() method, which creates a
Message implementation specific for that binding.