camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kafe <eric.useless.m...@gmail.com>
Subject Re: CFX - problem when receiving web service response
Date Wed, 16 Nov 2011 13:34:33 GMT
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.

Mime
View raw message