dkulp wrote: > > Well, you don't really need to deal with the QNames. There are "factory > methods" on the ObjectFactory that would create the JAXBElement things > from > the String's and such. Thus, you could call them. Still a bit of an > annoyance. > > [...] > > Actually, while googling this, I discovered in 2.1, they added a some > binding > customizations for it. : > > generateElementProperty false > > So > <jaxb:globalBindings generateElementProperty="false"/> > > [...] > >
You google much better than me :-)! Setting attribute generateElementProperty to false does it's job perfectly, no JAXBElement outside of ObjectFactory classes. Tanks a lot! -- View this message in context: http://www.nabble.com/Generated-code-with-minOccurs%3D%220%22-and-nillable%3D%22true%22-contains-JAXBElement-tp20704977p20706385.html Sent from the cxf-user mailing list archive at Nabble.com.
