[
https://issues.apache.org/jira/browse/CAMEL-7524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexey Markevich updated CAMEL-7524:
------------------------------------
Attachment: CxfEndpoint.patch
> CxfProducer created from wsdl detected as provider
> --------------------------------------------------
>
> Key: CAMEL-7524
> URL: https://issues.apache.org/jira/browse/CAMEL-7524
> Project: Camel
> Issue Type: Bug
> Components: camel-cxf
> Affects Versions: 2.13.1
> Reporter: Alexey Markevich
> Attachments: CxfEndpoint.patch
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.2#6252)