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: