Hello,

I need to bind different root mapping (for instance <RequestA>, <RequestB>, ...) and each of these message are mapped into a different class (my.package.RequestA, my.package.RequestB, ...).

My problem is that I don't know which root element (or which class) I receive. I just receive an InputStream containing XML.

How can I write a binding using JiBX without doing a test on the content of the inputstream ?
Is there any solution using a custom unmarshaller ?

Thanks,

Laurent

-------------------------------------------------------------------------
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