Greetings, I have a simple cxf endpoint defined in blueprint, used as consumer (server) in a camel route, deployed into karaf container
<cxf:cxfEndpoint id="TestService_north" address="http://localhost:8801/ VerySimple" serviceName="tns:VerySimple" endpointName="tns:VerySimplePort" wsdlURL="file:deploy/VerySimple.wsdl" xmlns:tns="http://www.talend.org/ service/"> <cxf:properties> <osgi:entry key="dataFormat" value="PAYLOAD" /> </cxf:properties> <cxf:features> <osgi:reference id="eventFeature" interface="org.talend.esb.sam. agent.feature.EventFeature" /> </cxf:features> </cxf:cxfEndpoint> This consumer is sending back response using Transfer-Encoding:chunked and unfortunately this is not acceptable by some of the clients using this service. Is there any way to turn it off? - I know there is simple chunk=false setting on the jetty consumer, but I am not able to propagate this setting through the cxfEndpoint. - I have also tried to write an interceptor that would set the Content- Length header manually, thus advising jetty to avoid the chunked transfer. However it seems impossible, since I do not know the message length before the SoapOutEndingInterceptor is triggered; and after the SoapOutEndingInterceptor the change to Exchange headers is no longer propagated to the client. Could someone advise how to approach this problem? kind regards Mirek Borský
