Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: https://support.wso2.com/jira/browse/ARZSUB-1

...


Note
titleNote : The above method removes only the specified headers from the response. If there is a need to remove all the headers, please follow the instructions below.
  • In <APIM_HOME>/repository/deployment/server/synapse-configs/default/sequences/main.xml file, add the below property just after the beginning of <out> sequence opening tag.

    Code Block
    <property name="TRANSPORT_HEADERS" action="remove" scope="axis2"/>
    Code Block
    titleEg
    .
    .
    <out>
    <property name="TRANSPORT_HEADERS" action="remove" scope="axis2"/>
    .
    .
  • In <APIM_HOME>/repository/deployment/server/synapse-configs/default/sequences/fault.xml file, add the below property just after before the <send> mediator.

    Code Block
    <property name="TRANSPORT_HEADERS" action="remove" scope="axis2"/>
    Code Block
    titleEg
    .
    .
    <property name="TRANSPORT_HEADERS" action="remove" scope="axis2"/>
    <send/>
    .
    .