// quick null point check for serviceClass
//ObjectHelper.notNull(cls, "Please provide endpoint service interface class");
if (CxfEndpointUtils.hasWebServiceAnnotation(cls)) {
return new JaxWsProxyFactoryBean(new JaxWsClientFactoryBean() {
@Override
protected void createClient(Endpoint ep) {
setClient(new CamelCxfClientImpl(getBus(), ep));
}
});