cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Sosnoski <>
Subject JiBX Databinding: databinding interface methods
Date Wed, 21 Jul 2010 18:25:01 GMT
I've been looking at supplying the information needed by CXF from JiBX
code generation, in particular that represented by the interface methods
String getType(QName qn, boolean element) and String
getWrappedElementType(QName wrapperElement, QName item).

I figure these are used to handle adding data to a wrapper bean on the
client side, and extracting data from a wrapper bean on the service
side. But if that's the case, how does the code know which property of
the wrapper bean corresponds to each child element of the wrapper? Does
the CXF code just assume that the element names are identical to
property names?

Also, when using JiBX data binding schema types may be used directly for
child elements of the wrapper, meaning the return from these methods
might be "java.lang.String", "java.lang.Integer", or even just "int" (in
the case of a required element). How will CXF use these types of return

  - Dennis

View raw message