Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tESBConsumer failing: How does one disable Chunking encoding?

The tESBConsumer works nicely to call a web service.
When one wants to call a web service with a batch load - one can simply configure the tXMLMap that creates the request to tESBConsumer as "All in One" which then collates all the records passed and calls tESBConsumer once.
However - this only works for a web service that works with Chunking encoding enabled. Unfortunately, our production environment does not support Chunking encoding and I need to switch this off.
I know the ESB side one can set Apache CXF client parameters - but HOW does one change it for tESBConsumer so that it DOES NOT use Chunking encoding
The typical error one gets when this is used is:
Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '411: Length Required' when communicating with https://......
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1530)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1490)

Labels (1)
  • Other

1 Reply
Anonymous
Not applicable
Author

Hi,
I know the ESB side one can set Apache CXF client parameters - but HOW does one change it for tESBConsumer so that it DOES NOT use Chunking encoding

Please open a jira issue of ESB project on talend bug tracker, our ESB developer will see if it is possible that one change it for tESBConsumer.
Note: Please set the issue type as "Work item".
Best regards
Sabrina