I found a solution to this issue. I saw the solution in a different problem: Someone wanted to get rid of the JAXBElements in the generated code so they did not have to handle them. Since my problem only happened with the JAXBElements, I decided this solution might help me as well. So, I used a binding when generating my classes to accomplish this:
<jaxb:globalBindings generateElementProperty="false"/> Now the request gets the correct namespaces for all the fields. -David -- View this message in context: http://cxf.547215.n5.nabble.com/generated-request-has-incorrect-namespaces-tp3247088p3247678.html Sent from the cxf-user mailing list archive at Nabble.com.
