karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (KARAF-3332) Karaf fails to find default Jax Ws provider - searches for CXF
Date Fri, 24 Oct 2014 02:04:35 GMT

     [ https://issues.apache.org/jira/browse/KARAF-3332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Freeman Fang reassigned KARAF-3332:
-----------------------------------

    Assignee: Freeman Fang

> Karaf fails to find default Jax Ws provider - searches for CXF
> --------------------------------------------------------------
>
>                 Key: KARAF-3332
>                 URL: https://issues.apache.org/jira/browse/KARAF-3332
>             Project: Karaf
>          Issue Type: Bug
>    Affects Versions: 4.0.0.M1
>            Reporter: Ioan Eugen Stan
>            Assignee: Freeman Fang
>
> I'm building an application using Jax-Ws:
> -----
> URL url = new URL("http://ec.europa.eu/taxation_customs/vies/services/checkVatService");
> QName qName = new QName("urn:ec.europa.eu:taxud:vies:services:checkVat", "checkVatService");
> Service service = Service.create(url, qName);
> CheckVatPortType servicePort = service.getPort(CheckVatPortType.class);
> ------
> I get the following error
> ----
> Caused by: javax.xml.ws.spi.FactoryFinder$ConfigurationError: Provider org.apache.cxf.jaxws.spi.ProviderImpl
not found
> 	at javax.xml.ws.spi.FactoryFinder$2.run(FactoryFinder.java:143)
> ....	
> ----
> It seams that Karaf has a jar file lib/endorsed/org.apache.servicemix.specs.jaxws-api-2.2-2.4.0.jar
that searches for CXF as a default implementation, and does not find the standard provider
(not based on CXF). 
> Runnning the same code outside OSGi works, not requiring CXF. 
> I do not like pulling all CXF dependencies into my projects. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message