Hi Charles, Please see my comments in the mail. cmoulliard wrote: > Hi, > > Can someone clarify and explain this line who has been added in the wiki > page of cxf component : > > NOTE : From CAMEL 1.5.1 , the serviceClass for CXF procedure should be java > interface. > > - Does it mean that you have to create an interface that your service class > implement with Camel 1.5.1 and provide the interface instead of the class as > parameter to the serviceClass ? This note is for the camel-cxf producer which equals to CXF client. Since we are using CXF ProxyFactoryBean to create the CXF client, and it only takes Interface to make up a dynamical proxy object.
> - How can we provide the class implementing the interface to the > serviceClass if we provide the name of the interface ? You don't need to provide the implementor, camel-cxf producer just works as CXF client , it doesn't need any implementor class. > - The documentation mentions that the serviceClass (see options table) is a > class and not an interface 'The name of the SEI(Service Endpoint Interface) > class. This class can have but does not require JSR181 annotations. ' It should be a Interface, and serviceClass's type is Class. > > KR, > > > > ----- > Charles Moulliard > SOA Architect > > My Blog : http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/ Willem
