I've noticed that when I call my services using CXF, it only outputs the namespaces necessary for the output objects, which is the behavior I'm looking for. If I make the same type of call outside CXF with my own configured JAXB instance, JAXB dumps out all of the namespaces it knows about even thought they're not needed. CXF does the right thing while JAXB doesn't and I'd like to know how CXF does it.
Any help is appreciated. -Nick
