this post helped! was able to resolve namespace appearing on the root element of the body tag!
Here is my exact cxf-servlet: <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxws="http://cxf.apache.org/jaxws" xmlns:soap="http://cxf.apache.org/bindings/soap" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://cxf.apache.org/bindings/soap http://cxf.apache.org/schemas/configuration/soap.xsd http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"> <import resource="classpath:META-INF/cxf/cxf.xml" /> <import resource="classpath:META-INF/cxf/cxf-servlet.xml" /> <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" /> <import resource="classpath:META-INF/cxf/cxf-extension-http.xml" /> <import resource="classpath:META-INF/cxf/cxf-extension-xml.xml" /> <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" /> <import resource="classpath:META-INF/cxf/cxf-extension-http-jetty.xml" /> <jaxws:endpoint id="webService" implementorClass=src.WebServiceImpl" implementor="#webService" address="/webService"> <jaxws:outInterceptors> <bean name="transformFeature" class="org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor"></bean> </jaxws:outInterceptors> <jaxws:features> <bean class="org.apache.cxf.feature.LoggingFeature" /> <bean id="transformFeature" class="org.apache.cxf.feature.StaxTransformFeature"> <property name="outTransformElements"> <map> <entry key="{http://XXXX/service/}*" value="*" /> </map> </property> </bean> </jaxws:features> </jaxws:endpoint> </beans> -- View this message in context: http://cxf.547215.n5.nabble.com/StaxTransformFeature-outTransformElements-problem-tp5716579p5717458.html Sent from the cxf-user mailing list archive at Nabble.com.
