Hi J-F, You definitely can work with interfaces, though you can't use an interface for the root object you're marshalling or unmarshalling. The reason for that limitation is because JiBX adds interfaces to the classes that are being marshalled or unmarshalled as root objects.
Is that the specific issue you're encountering? If so, there is a possible work-around using an abstract <mapping> definition, with a little added work in your code. - 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 Jean-François Daune wrote: > > Hi all, > > it seems that JiBX does not accept interfaces, even though I declare > factories, get-method and set-method. > > It complains because it cannot post-process the interfaces (.class). > > That's a pity, because everything is there for people not willing to > use post-processing. > > Am I missing something? > > J-F > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ------------------------------------------------------------------------ > > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users