Hi
On 27/02/13 11:24, gcsaba2ms wrote:
Hello,

I have a method that looks like this:

@WebMethod(operationName = "MyRequest")
public Element doStuff(@WebParam(name="MyRequest") Element body) {
    return process(body);
}

The response from this method looks like this:

<MyRequestResponse>
    // result from process()
</MyRequestResponse>

Is there a way to get rid of the "MyRequestResponse" node? I only want to
output the element received from process()

Sure, have a look at

http://cxf.apache.org/docs/transformationfeature.html#TransformationFeature-Droppingoutputandinputelements

HTH, Sergey

Thanks in advance!



--
View this message in context: 
http://cxf.547215.n5.nabble.com/How-to-remove-name-Response-node-from-web-result-tp5723799.html
Sent from the cxf-user mailing list archive at Nabble.com.


Reply via email to