cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Freeman Fang <freeman.f...@gmail.com>
Subject Re: svn commit: r1378451 - /cxf/trunk/services/wsn/wsn-api/pom.xml
Date Thu, 30 Aug 2012 07:45:44 GMT
Hi Dan,

You're right.

It's not a CXF issue, the problem is from the test case I'm using, it incorrectly set 
System.setProperty("javax.xml.ws.spi.Provider", "org.apache.cxf.jaxws.spi.ProviderImpl");

but cxf jaxws frontend bundle have org.apache.cxf.jaxws22.spi.ProviderImpl in META-INF/services/javax.xml.ws.spi.Provider,
so Servicemix OSGiLocator can pick up org.apache.cxf.jaxws22.spi.ProviderImpl but can't find
org.apache.cxf.jaxws.spi.ProviderImpl.

Anyway I'll revert the changes I made.

Thanks for pointing it out.

Freeman

-------------
Freeman Fang

FuseSource
Email:ffang@fusesource.com
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042

On 2012-8-29, at 下午10:26, Daniel Kulp wrote:

> 
> The more I think about this, the more I'm -1 to this change, or at least -1 until the
real underlying problem can be identified and fixed.   A JAX-WS application using JAX-WS API's
should not be importing a specific JAX-WS implementations SPI.  
> 
> 
> Dan
> 
> 
> 
> On Aug 29, 2012, at 2:25 AM, ffang@apache.org wrote:
> 
>> Author: ffang
>> Date: Wed Aug 29 06:25:13 2012
>> New Revision: 1378451
>> 
>> URL: http://svn.apache.org/viewvc?rev=1378451&view=rev
>> Log:
>> [CXF-4489]cxf-wsn-api bundle can't find org.apache.cxf.jaxws.spi.ProviderImpl in
OSGi container
>> 
>> Modified:
>>   cxf/trunk/services/wsn/wsn-api/pom.xml
>> 
>> Modified: cxf/trunk/services/wsn/wsn-api/pom.xml
>> URL: http://svn.apache.org/viewvc/cxf/trunk/services/wsn/wsn-api/pom.xml?rev=1378451&r1=1378450&r2=1378451&view=diff
>> ==============================================================================
>> --- cxf/trunk/services/wsn/wsn-api/pom.xml (original)
>> +++ cxf/trunk/services/wsn/wsn-api/pom.xml Wed Aug 29 06:25:13 2012
>> @@ -87,6 +87,7 @@
>>                            javax.xml.bind*;version="[0.0,3)",
>>                            javax.jws*;version="[0.0,3)",
>>                            javax.xml.ws*;version="[0.0,3)",
>> +                            org.apache.cxf.jaxws.spi;version="[2.4,3)",
>>                            org.apache.cxf*;version="[2.4,3)",
>>                            *
>>                        </Import-Package>
>> 
>> 
> 
> -- 
> Daniel Kulp
> dkulp@apache.org - http://dankulp.com/blog
> Talend Community Coder - http://coders.talend.com
> 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message