Talend Connect
Virtual Summit
JOIN US!
And visit the Customer
& Community Lounge.
May 27-28, wherever you are.

tESBConsumer and chunking

Highlighted
One Star

tESBConsumer and chunking

Hi,
My ESB route is calling a job Talend in order to call a webservices (SOAP)
In this job, I'm using a tESBConsumer.
When my message to send is small, the tESBConsumer working correctly.
When I'm trying to send a big message, I've got an error :
has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Response was of unexpected text/html ContentType.  Incoming portion of HTML stream: <html xmlns:vega
[...]
at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:95)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:798)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1670)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1551)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1348)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:651)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:514)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:423)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:324)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:277)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:297)
at gyzmo.put_damages_0_1.PUT_DAMAGES$GenericConsumer.invoke(PUT_DAMAGES.java:818)

I'm thinking that's the problem comes from the chunking.
In the Runtime, I've add "client.AllowChunking =  false" in my file org.apache.cxf.http.conduits-common.cfg and reload my configuration but the error is still present.
Do you have any idea to resolve my point ?
Thanks,
Highlighted
Moderator

Re: tESBConsumer and chunking

Hi,
Would you mind posting your job setting screenshots into forum which will be helpful for us to address your issue?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Highlighted
One Star

Re: tESBConsumer and chunking

Hi,

You cna find some informations about my job.
One screen is the job calling, the second one is config of my tESBConsumer.
I'm posting a screenshot about my config too of the file org.apache.cxf.http.conduits-common.cfg 
For information, this error is coming when i'm trying to sent a big body (such as an image in base64).



Highlighted
One Star

Re: tESBConsumer and chunking

Screenshots :
Highlighted
One Star

Re: tESBConsumer and chunking

up

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read