You are using Servlet transport. You need to configure the WebContainor the support gzip.
On Wed Nov 16 21:34:33 2011, kafe wrote:
That's what i'm trying to do but without success right now. Here is my camel-cxf.xml spring configuration file : <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cxf="http://camel.apache.org/schema/cxf" xmlns:cxf-core="http://cxf.apache.org/core" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd"> <import resource="classpath:META-INF/cxf/cxf.xml" /> <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" /> <import resource="classpath:META-INF/cxf/cxf-servlet.xml" /> <cxf:cxfEndpoint id="helloServiceEndpoint" address="/helloservice" serviceClass="com.test.HelloService" bus="myBus" /> <cxf:cxfEndpoint id="helloServiceDistantEndpoint" address="http://localhost:8088/mockHelloService" serviceClass="com.test.HelloService" bus="myBus" /> <bean id="gzipFeature" class="org.apache.cxf.transport.common.gzip.GZIPFeature"> <property name="threshold"> <value>1</value> </property> </bean> <cxf-core:bus name="myBus"> <cxf-core:features> <ref bean="gzipFeature"></ref> </cxf-core:features> </cxf-core:bus> </beans> -- View this message in context: http://camel.465427.n5.nabble.com/CXF-problem-when-receiving-web-service-response-tp4994825p4997712.html Sent from the Camel - Users mailing list archive at Nabble.com.
-- Willem ---------------------------------- FuseSource Web: http://www.fusesource.com Blog: http://willemjiang.blogspot.com (English) http://jnn.javaeye.com (Chinese) Twitter: willemjiang Weibo: willemjiang
