dear all:
i use cxf2.6.2 to public webservice , now i want to replace elememt , it works
fine in inTransformElements , but outTransformElements was not.
the configuration:
<bean id="transformFeature" class="org.apache.cxf.feature.StaxTransformFeature">
<property name="inTransformElements">
<map>
<entry
key="{http://www.chinamobile.com/vgop/serviceorder/v1_0}subscribeServCfmReq"
value="subscribeServCfmReq" />
</map>
</property>
<property name="outTransformElements">
<map>
<entry key="return" value="ns2:subscribeServCfmResp" />
</map>
</property>
</bean>
but client receive a message like that:
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body>
<ns2:subscribeServCfmResponse
xmlns:ns2=http://www.chinamobile.com/vgop/serviceorder/v1_0>
<return><result>0</result></return></ns2:subscribeServCfmResponse></soap:Body></soap:Envelope>
the outTransformElements is not work , is it the configuration correct ? or
there is another way to do this
thanks
cantalou89