You could use the jaxws:server config bean. - Eric Johnson Principal Technical Writer MII-KS, FUSE Progress Software Corporation
On Mon, 2008-11-10 at 11:01 -0800, Nick Heudecker wrote: > Thanks for the quick reply. > > No, not annoyed at all. But that leads me to another unrelated question > when trying to set my own namespace prefix mapper. I checked out the docs > here: > > http://cwiki.apache.org/CXF20DOC/jax-ws-configuration.html > > That page implies that I can have > > <jaxws:endpoint ...> > <jaxws:dataBinding> > <!-- ... --> > </jaxws:dataBinding> > </jaxws:endpoint> > > But setting that results in the following error at startup: > > org.springframework.beans.InvalidPropertyException: Invalid property > 'dataBinding' of bean class [org.apache.cxf.jaxws.spring.EndpointDefinitionParser$SpringEndpointImpl]: > No property 'dataBinding' found > > Is it possible to set the dataBinding anyplace else? > > On Mon, Nov 10, 2008 at 10:52 AM, Benson Margulies <[EMAIL PROTECTED]>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 <[EMAIL PROTECTED]> > > 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 > > > > >
