On Fri February 19 2010 2:18:59 pm M Stewart wrote: > dkulp wrote: > > The only way I know around it is to write your own > > com.sun.xml.bind.marshaller.NamespacePrefixMapper > > and override the methods: > > String[] getPreDeclaredNamespaceUris() > > String[] getPreDeclaredNamespaceUris2() > > to just declare the ones you think are needed up front and then register > > that > > with the CXF JAXB Databinding. > > You wouldn't happen to know of a page where this registration process is > documented would you? I'm having a hell of time figuring it out. My > interest is simply to have the prefixes declared by my WSDL honored in the > JAXB generated responses.
There are some docs at: http://cxf.apache.org/docs/jaxb.html -- Daniel Kulp [email protected] http://www.dankulp.com/blog
