You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Jean-Baptiste Onofré <jb...@nanthrax.net> on 2012/03/01 07:26:35 UTC

Re: ServiceMix CXF-CAMEL

Hi,

could you share your SU pom ?

Especially, do you have the camel-cxf, cxf-rt-*, etc dependencies in 
your POM (and so in the SU lib) ?

Regards
JB

On 02/28/2012 06:18 PM, Baleado wrote:
> Hi people,
>
> I'm trying to create a simple web service and save the response in a file.
>
> When I try to deploy my bundle in servicemix I get the follow error:
>
> 17:14:23,840 | WARN  | ExtenderThread-7 | XmlBeanDefinitionReader          |
> 66 - org.springframework.beans - 3.0.6.RELEASE | Ignored XML validation
> warning
> java.net.ConnectException: Connection timed out: connect
>
> I'm doing right?
>
> <beans xmlns="http://www.springframework.org/schema/beans"
> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> 	xmlns:cxf="http://activemq.apache.org/camel/schema/cxfEndpoint"	
> 	xsi:schemaLocation="
>                  http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>                  http://activemq.apache.org/camel/schema/cxfEndpoint
> http://activemq.apache.org/camel/schema/cxf/camel-cxf-1.6.0.xsd
>                  http://activemq.apache.org/camel/schema/spring
> http://activemq.apache.org/camel/schema/spring/camel-spring.xsd     ">
>
> 	<cxf:cxfEndpoint id="routerEndpoint" address="/Calculator"
> serviceClass="com.exictos.servicemix.CalculatorImpl" />
>
> 	<camelContext id="camel"
> xmlns="http://activemq.apache.org/camel/schema/spring">
> 		<route>
> 			<from uri="cxf:bean:routerEndpoint" />
> 			<to uri="file:/teste.txt" />
> 		</route>
> 	</camelContext>
> </beans>
>
> --
> View this message in context: http://servicemix.396122.n5.nabble.com/ServiceMix-CXF-CAMEL-tp5522547p5522547.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com