I am having the same problem here and have resorted to convert the complex
object (POJO_C in your example) into a byte[] which, of course, discards all
information about it actually being a POJO_C type of object.
IMHO, this is a big downside, but I have been unable to find a better solution.
You can use JAXB binding customizations to map package names to namespaces
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4143403#4143403
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4143403
Thanks for confirming the fact that customizations is the way to go Thomas, I
just wanted to see if there was an easier way. It would seem like I should be
able to provide a namespace for POJO_C so that this could be done
automatically, but I can handle the manual way. Thanks again!
View the
Just to update, I figured out that if I specify @XmlType(namespace=...) on my
@Entitys that the web services are using, wsimport (if you don't use the -p
option) would do what I want for me without having to specify JAXB
customization files.
I still think that it would be neat if I could