diff --git a/components/soap/src/main/java/org/switchyard/component/soap/composer/SOAPContextMapper.java b/components/soap/src/main/java/org/switchyard/component/soap/composer/SOAPContextMapper.java index b75d12218..01ea5d5fa 100644 --- a/components/soap/src/main/java/org/switchyard/component/soap/composer/SOAPContextMapper.java +++ b/components/soap/src/main/java/org/switchyard/component/soap/composer/SOAPContextMapper.java @@ -6,7 +6,7 @@ * You may obtain a copy of the License at * http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, + * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. @@ -59,7 +59,7 @@ public class SOAPContextMapper extends BaseRegexContextMapper { /** * Headers to be excluded. */ - public static final List HTTP_HEADERS_EXCLUDED = Arrays.asList(new String[]{"content-type", "content-length"}); + public static final List HTTP_HEADERS_EXCLUDED = Arrays.asList(new String[]{"content-type", "content-length","transfer-encoding"}); private static final String[] SOAP_HEADER_LABELS = new String[]{ComponentLabel.SOAP.label(), EndpointLabel.SOAP.label()}; private static final String[] SOAP_MIME_LABELS = new String[]{ComponentLabel.SOAP.label(), EndpointLabel.HTTP.label()};