cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Heudecker" <nheudec...@gmail.com>
Subject Re: How does CXF determine the namespaces to output?
Date Wed, 12 Nov 2008 05:42:21 GMT
Thanks for the pointer.

On Tue, Nov 11, 2008 at 8:23 AM, Daniel Kulp <dkulp@apache.org> wrote:

>
> The class to look at is PROBABLY the
> org.apache.cxf.jaxb.io.DataWriterImpl
> The code is a little different on trunk as I've been working on getting it
> able to use the jaxb implementation built into Java6, but it shouldn't be
> hard to follow.
>
> The "com.sun.xml.bind.defaultNamespaceRemap" property can also have some
> impact on this as well.
>
> Dan
>
>
> On Monday 10 November 2008 1:52:14 pm Benson Margulies wrote:
> > If I recommended that you read our code in the vicinity of the class
> > JAXBDataBinding, would you be annoyed? It sets up a whole series of
> > JAXB options.
> >
> > On Mon, Nov 10, 2008 at 1:11 PM, Nick Heudecker <nheudecker@gmail.com>
> wrote:
> > > 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
>
>
>
> --
> Daniel Kulp
> dkulp@apache.org
> http://dankulp.com/blog
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message