Yep, Thanks - it is really so. Logging was switched off and didn't see apropriate error messages.
Regards, Andrei. -----Original Message----- From: Willem Jiang [mailto:willem.ji...@gmail.com] Sent: 29 September 2011 03:28 To: users@camel.apache.org Subject: Re: Camel CXF producer without "cxf:bean" in uri On 9/29/11 12:14 AM, Andrei Shakirin wrote: > Hi, > > I have a following question regarding camel:cxf component: > is it required for producer to use cxf:bean URI? > > I expect that producer also works for uri without bean: > uri="cxf://anAddress?options" > > My problem that Camel tries to create a service (act as consumer) for > following route: > <camelContext xmlns="http://camel.apache.org/schema/spring"> > <camel:route> > <camel:from > uri="timer://myTimer?fixedRate=true&period=2000"/> > <camel:to > uri="cxf://http://localhost:8088/mockFlightReservationSOAP?defaultOperationName=reserveFlight&dataFormat=MESSAGE&wsdlURL=file:///c:/1/wsdls/FlightReservation.wsdl"/> > </camel:route> > </camelContext> > > Console output: "INFO: Creating Service > {http://www.eclipse.org/swordfish/samples/FlightReservation/}FlightReservationService > from WSDL: file:///c:/1/wsdls/FlightReservation.wsdl " This console output is telling you CXF is creating a service module to use from the WSDL file that you give. At the mean time, CXF support to build the service module from SEI. > > I expect that Camel tries to call external web service instead its creation. > Where is my error? CXF need to build the service module before sending the invocation to the external web service. > > Regards, > Andrei. > -- Willem ---------------------------------- FuseSource Web: http://www.fusesource.com Blog: http://willemjiang.blogspot.com (English) http://jnn.javaeye.com (Chinese) Twitter: willemjiang Weibo: willemjiang