A bit late but maybe of interest for others:
For us it helped to use a custom Jaxb-binding.
Serializable is not importent here - the trick isusing the
"generateElementProperty" attribute to chagne the way
some attributes are generated.
anonymous wrote :
| <?xml version="1.0" encoding="UTF-8"?>
| <jxb:bindings jxb:version="2.1"
|
xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
|
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
xsi:schemaLocation="http://java.sun.com/xml/ns/jaxb
http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd"
|
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
| >
| <jxb:bindings schemaLocation="xyz.xsd" node="/xs:schema">
| <jxb:globalBindings generateElementProperty="false">
| <xjc:serializable uid="1" />
| </jxb:globalBindings>
| </jxb:bindings>
| </jxb:bindings>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160973#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...