If you're only marshalling you can specify direction="output" on the <binding> element. This should skip any checks on methods or constructors needed only for unmarshalling. JiBX assumes you're doing both marshalling and unmarshalling unless you tell it otherwise.

 - Dennis

Kumar wrote:

...
Also according to the JiBX documentation, the no-arg
constructor is used only during unmarshalling in my case I am using
only to marshall and still the binding compiler complains with
exception "org.jibx.runtime.JiBXException: Need no-argument
constructor or factory for com.supz.Token".


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to