2 Replies Latest reply on Mar 2, 2015 4:11 AM by Nitesh jain

    Getting SOAP-Request Headers in Response

    Nitesh jain Newbie

      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 -





      but still getting headers in response.


      any help would be appreciated.