How to disable Chunking in tESBConsumer

Talend Version          6.3.1

Summary

 
Additional Versions  
Product  Talend ESB
Component  
Problem Description  Sometimes when calling/consuming a web service, the back-end server rejects request with "Transfer-Encoding: chunked" header.
Using tESBConsumer for the web service call, how to disable this chunking header.
Problem root cause  
Solution or Workaround  In Studio 6.3.1 there is a "Disable Chunking" option in the "Advanced settings" tab of tESBConsumer which can be selected.
For versions prior to 6.3.1, there is no option provided in the Studio. But this can be done in the Runtime by using cxf conduit configuration file. By default there is a generic "org.apache.cxf.http.conduits-common.cfg".
You need to create another one org.apache.cxf.http.conduits- ANYTHING.cfg which will be used for the service url in question.
The content of this file would look like:

url = http://the_web_service_hostname.*
client.AllowChunking=false
JIRA ticket number  
Version History
Revision #:
1 of 1
Last update:
‎05-18-2017 09:41 PM
Updated by:
 
Labels (1)
Contributors