You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2012/08/29 08:25:13 UTC

svn commit: r1378451 - /cxf/trunk/services/wsn/wsn-api/pom.xml

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>



Re: svn commit: r1378451 - /cxf/trunk/services/wsn/wsn-api/pom.xml

Posted by Daniel Kulp <dk...@apache.org>.
Thanks Freeman!

Dan


On Aug 30, 2012, at 3:45 AM, Freeman Fang <fr...@gmail.com> wrote:

> 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
>> 
> 

-- 
Daniel Kulp
dkulp@apache.org - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com


Re: svn commit: r1378451 - /cxf/trunk/services/wsn/wsn-api/pom.xml

Posted by Freeman Fang <fr...@gmail.com>.
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
> 


Re: svn commit: r1378451 - /cxf/trunk/services/wsn/wsn-api/pom.xml

Posted by Daniel Kulp <dk...@apache.org>.
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