Details
Description
In custom bus extension following code used to detect web provider:
JaxWsServiceFactoryBean factory =...;
JaxWsImplementorInfo jaxWsImplementorInfo = jaxwsfactory.getJaxWsImplementorInfo();
isProvider = null != jaxWsImplementorInfo && jaxWsImplementorInfo.isWebServiceProvider();
But org.apache.camel.component.cxf.WSDLServiceFactoryBean used setServiceClass(Provider.class); which cause
org.apache.cxf.jaxws.support.JaxWsImplementorInfo.isWebServiceProvider() { return Provider.class.isAssignableFrom(implementorClass); }
return true always.
I can't set ServiceClass for CxfEndpoint because another case will executed.
I propose to override service class for this case