Hi Dan, 
 
First of all, thanks for your reply. 
And I apologize for the cxf version, it should be 2.3.3.
Back to Topic, I've tested what you suggested, and here is the configuration
added to my endpoint:
        <jaxws:properties>
            <entry key="soap.env.ns.map">
                <map>
                    <entry key="body" value="http://ws.sample.body"/>
                    <entry key="head" value="http://ws.sample.head"/>
                    <entry key="rsp" value="http://ws.sample.rsp"/>
                </map>
            </entry>
            <entry key="disable.outputstream.optimization" value="true"/>
        </jaxws:properties>
But it turned out that nothing had been changed...

I also debugged the realted code and found out that in
org.apache.cxf.binding.soap.interceptor.SoapOutInterceptor[line 103], the
SoapMessage.hasAdditionalEnvNs() returned false. It seems that the
properties I put into endpoint does not work at all. 

Is there anything else I can do to reslove these problems?

BTW, my endpoint configuration enabled LoggingFeature, but I don't think it
would be a problem.

Thanks again.

James Van

-------------------------------------------------------------------------------------------------------


--
View this message in context: 
http://cxf.547215.n5.nabble.com/How-to-customize-namespaces-position-and-prefix-in-CXF-response-tp3423069p3555831.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to