title: remove a tag in soap response using CXF
body: <p>I am new to CXF. I am using CXF component in mulesoft to create Webservice. WebService is running successfully. But, I want to remove a  tag from response.
  I have used @ResponseWrapper, @SoapBinding(ParameterStyle=ParameterStyle.BARE). but, these are not resolved my issue.
  I have heared that, we can modify soap response(i.e remove  tag) by using Outintercepters. If it is can anybody help me to how to use interceptors and what phase we can modify the soap response to remove  tag..</p>
  
  <p>Actual Soap Response</p>
  
  <pre><code>&lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope"&gt;
   &lt;soap:Body&gt;
    &lt;ns2:getMyresponse xmlns:ns2="http://myschema.com"&gt;
     &lt;return&gt;
      &lt;errorcode&gt;1&lt;/errorcode&gt;
      &lt;errormsg&gt;notsuccesful&lt;/errorms&gt;
     &lt;/return&gt;
    &lt;/ns2:getMyresponse&gt;
   &lt;/soap:Body&gt;
  &lt;/soap:Evelope&gt;
  </code></pre>
  
  <p>Expected Response</p>
  
  <pre><code>&lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope"&gt;
   &lt;soap:Body&gt;
    &lt;ns2:getMyresponse xmlns:ns2="http://myschema.com"&gt;
      &lt;errorcode&gt;1&lt;/errorcode&gt;
      &lt;errormsg&gt;notsuccesful&lt;/errorms&gt;
    &lt;/ns2:getMyresponse&gt;
   &lt;/soap:Body&gt;
  &lt;/soap:Evelope&gt;
  </code></pre>
  
  <p>SEI class is:</p>
  
  <pre><code>@WebService(targetNamespace = "urn:com.test", name = "GetActivityListInterface")
  
  public interface GetActivityListInterface {
  
      @SOAPBinding(parameterStyle = ParameterStyle.BARE)
      @RequestWrapper(localName = "GetMyActivities", targetNamespace = "urn:com.test", className = "com.test.beans.MyActivities")
      @WebMethod(operationName = "GetMyActivities", action = "urn:com.test/GetMyActivities")
      @ResponseWrapper(localName = "GetMyResponse", targetNamespace = "urn:com.test", className = "com.test.beans.GetMyResponse")
      public GetMyActivitiesResponse getMyActivities(
          @WebParam(name = "id", partName="id")
          java.lang.String id,
          @WebParam(name = "date", partName="date")
          java.lang.String date);
  }
  </code></pre>