[jboss-dev-forums] [Design of JBossXB] - Re: Marshalling an AbstractKernelDeployment
alex.loubyansky@jboss.com
do-not-reply at jboss.com
Thu May 28 18:47:23 EDT 2009
First of all, you should be using marshal method which takes SchemaBinding argument.
SchemaBinding for AbstractKernelDeployment is created by parsing JAXB/JBossXB annotations, not by parsing the XSD (this XSD doesn't contain any binding information).
You'll need to use one of the build methods of org.jboss.xb.builder.JBossXBBuilder to create SchemaBinding from annotated Java classes.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4234012#4234012
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4234012
More information about the jboss-dev-forums
mailing list