On Monday 14 March 2011 10:03:02 PM James Van wrote:
> Hi Dan,
> Really appreciate for your help, It works.
> 
> But I still got one question(I hope this is the last one....):
> I have a service with several operations, each operation has many
> namespaces. I find out that every response of operation including the
> redundant namespaces belongs to the others.
> 
> Is this the data binding problem? I'm using JAXB, command is: wsdl2java
> -impl -server -verbose -validate -d $ModuleSourcePath$ $WsdlFilePath$
> 
> Any idea of this?

This is due to JAXB.   JAXB always outputs all the namespaces it knows about 
up front so it doesn't need to output them again later.   I haven't found a 
way to turn that off.  :-(

Dan


> 
> Thanks again.
> 
> James Van
> 
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/How-to-customize-namespaces-position-and-p
> refix-in-CXF-response-tp3423069p3643804.html Sent from the cxf-user mailing
> list archive at Nabble.com.

-- 
Daniel Kulp
[email protected]
http://dankulp.com/blog
Talend - http://www.talend.com

Reply via email to