when i invoke a camel cxf endpoint by passing Headers, i get the same headers
in response, is there any way to ignore the headers only in response.

This is how i get Headers-

public void processHeaders(@Header("org.apache.cxf.headers.Header.list")
List<SoapHeader> soapHeaders,
                        Exchange exchange) {
          //Getting headers here and adding them to exchange
}

i tried removing headers from exchange before sending response -

exchange.getIn().removeHeader("TransactionID");
exchange.getIn().removeHeader("org.apache.cxf.headers.Header.list");

but still getting headers in response.

any help would be appreciated.

Thanks,
Nitesh



--
View this message in context: 
http://camel.465427.n5.nabble.com/Avoid-Soap-Headers-in-SOAP-Response-tp5763362.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to