You need to specify the dataformat option this time, as the default POJO 
dataformat need you to specify the serviceClass option.
The configuration should be

<cxf:cxfEndpoint id="routerEndpoint" 
address="http://localhost:9090/cxf-proxy" 
endpointName="tns:HelloServicePort" 
serviceName="tns:HelloService" 
wsdlURL="etc/HelloService.wsdl" 
xmlns:tns="http://www.example.org/HelloService"/> 

<camelContext xmlns="http://camel.apache.org/schema/spring";> 

<endpoint id="HelloServiceEndpoint" 

uri="http://localhost:8080/cxf-service/services/HelloService?dataformat=MESSAGE"/>
 
<route> 
<from uri="cxf:bean:routerEndpoint" /> 
<to ref="HelloServiceEndpoint"/> 
</route> 
</camelContext> 

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/) 
(English)
http://jnn.iteye.com(http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On December 17, 2013 at 10:13:14 AM, madusanka ([email protected]) 
wrote:
>  
> My configuration
>  
> > address="http://localhost:9090/cxf-proxy";
> endpointName="tns:HelloServicePort"
> serviceName="tns:HelloService"
> wsdlURL="etc/HelloService.wsdl"
> xmlns:tns="http://www.example.org/HelloService"/>
>  
>  
>  
> >  
> uri="http://localhost:8080/cxf-service/services/HelloService"/>  
>  
>  
>  
>  
>  
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/serviceClass-must-be-specified-error-in-ServiceMix-tp5744904p5744905.html
>   
> Sent from the Camel - Users mailing list archive at Nabble.com.  
>  

Reply via email to