Thanks for you advice, I tried this solution but: - I can not make the cxf-xjc-plugin Maven plugin generate the appropriate package-info.java - The generated XML contains a "ew:" behind each element and I need to have it only on the root element.
I recognize the endpoint I am compelled to access sucks. I tried to marshal un JAXBElement with QName speciying the prefix, but it doesn't help. My only option left, is doing search/replace on the generated String message. This solutions is abominable as well. -- View this message in context: http://servicemix.396122.n5.nabble.com/Custom-namespace-prefix-in-JAXB-tp5720382p5720385.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
