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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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,
Labels (5)
7 Replies
Anonymous
Not applicable
Author

Hi,
Would you mind posting your job setting screenshots into forum which will be helpful for us to address your issue?
Best regards
Sabrina
Anonymous
Not applicable
Author

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).

0683p000009MFZO.jpg
0683p000009MFhL.png
0683p000009MFhQ.png
Anonymous
Not applicable
Author

Screenshots :
Anonymous
Not applicable
Author

up
FrancoisM1
Contributor
Contributor

Hi,

I have the same problem, does Anyone have any idea on how to solve it ?

Best regards.​

Anonymous
Not applicable
Author

Hello,

Could you please indicate on which talend build version you got this issue? We will appreciate it if you could post your job setting screenshots here.

Best regards

Sabrina

FrancoisM1
Contributor
Contributor

Hello,

The version is 5.6.1 .

My job is just a tFileInputXML with a tXMLMap and A tESBConsumer. When the file to send is small, the tESBConsumer working correctly. When I'm trying to send a big file, It's doesn't work and I've got an error like

Response was of unexpected text/html ContentType.  Incoming portion of HTML stream

 

Best Regards.