I am already using the transformfeature inTransformElements. But for
outTransformElements, it did not work. So when I gave the below entry, it
still produces <HelloMessage>Hello.</HelloMessage> instead of
<ns2:HelloMessage xmlns:ns2="http://test.ws.com/">Hello.</HelloMessage>
<property name="outTransformElements">
<map>
<entry key="HelloMessage" value="{http://test.ws.com/} HelloMessage"/>
</map>
</property>
And adding package-info.java also does not produce the desired response. If
I specify namespace as well to the package-info.java, then it would add an
extra namespace to the response wrapper instead of the xmlrootelement.
--
View this message in context:
http://cxf.547215.n5.nabble.com/Namespace-prefix-ns1-is-missing-in-cxf-soap-response-tp5732560p5732669.html
Sent from the cxf-user mailing list archive at Nabble.com.