Thanks for the help, I have already solve (in some way) the problem in
the same way that yo do. The thing is that I REALLY need my mappings
to be ordered="false" and flexible="true", but seems like abstract is
not supporting that, if you do:
                     <mapping class"child class">
                          <structure map-as="example.class"/>
                          <value name="examplefield" field="pepe"/>
                     </mapping>
the field pepe is never fill and, in runtime, jibx throws an
exception. For now, changing the order of the tags of the incoming XML
fixes the problem, but i believe this is a good thing to fix in future
releases. Besides, you need to declare ALL the tags of the incoming
XML as atributes of your base class if the  are first in the incoming
XML, meaning that you need to touch your business classes without
relly needing it; this is: yo have to adapt your model to the
framework... not good.
Anyway, thanks everibody for the help.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to