users@jaxb.java.net

Setting marshaller properties with JAX-WS

From: Adam Zell <zellster_at_gmail.com>
Date: Tue, 3 Aug 2010 14:07:34 -0700

Hello,

I would like to control namespaces using a NamespacePrefixMapper and the
"com.sun.xml.bind.namespacePrefixMapper" property on a Marshaller. This is
fairly straight-forward using JAXB. However, I can't quite see how to do
this with JAX-WS.
I created a custom JAXBRIContext called via @UsesJAXBContext which wrapped
the JAXBRIContext.newInstance() return value, but it doesn't appear that the
createMarshaller() method is ever called.

Is there a better way to do this?

-- 
Adam
zellster_at_gmail.com