Thanks Freeman,

The example at 
https://github.com/apache/servicemix/tree/master/examples/cxf/cxf-jaxrs 
<https://github.com/apache/servicemix/tree/master/examples/cxf/cxf-jaxrs> was 
helpful.
Dan.

> On 29 Sep 2015, at 13:10, Freeman Fang <[email protected]> wrote:
> 
> Hi Dan,
> 
> You can download Apache Servicemix kit, where you can find a cxf-jaxrs 
> example shipped with kit, it should be very similar as your scenario.
> 
> -------------
> Freeman(Yue) Fang
> 
> Red Hat, Inc. 
> FuseSource is now part of Red Hat
> 
> 
> 
>> On Sep 29, 2015, at 3:23 PM, Daniel McGreal <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Hi Freeman,
>> I wondered that, removed them but got an error about missing an http 
>> transport bean of some kind. Investigating that error led by o a post about 
>> the missing imports. Are they replaced by some other construct? Could you 
>> elaborate on what is required?
>> I'll be looking into the other suggestion today. 
>> Dan.
>> 
>> On 29 Sep 2015, at 08:11, Freeman Fang <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>>> Hi,
>>> 
>>> Those resource import are not needed for a while.
>>> -------------
>>> Freeman(Yue) Fang
>>> 
>>> Red Hat, Inc. 
>>> FuseSource is now part of Red Hat
>>> 
>>> 
>>> 
>>>> On Sep 26, 2015, at 1:06 AM, Daniel McGreal <[email protected] 
>>>> <mailto:[email protected]>> wrote:
>>>> 
>>>> Hi Karaf types,
>>>> 
>>>> I’m using Karaf 3.0.1 and the cxf-jaxrs feature for this project where I 
>>>> need a very simple endpoint.
>>>> 
>>>> Trying to configure with
>>>> 
>>>>    <import resource="classpath:META-INF/cxf/cxf.xml" />
>>>>    <import resource="classpath:META-INF/cxf/osgi/cxf-extension-osgi.xml" />
>>>> 
>>>> according to 
>>>> http://cxf.apache.org/docs/jaxrs-services-configuration.html#JAXRSServicesConfiguration-Spring
>>>>  
>>>> <http://cxf.apache.org/docs/jaxrs-services-configuration.html#JAXRSServicesConfiguration-Spring>,
>>>>  results in:
>>>> 
>>>> Caused by: java.io.FileNotFoundException: OSGi 
>>>> resource[classpath:META-INF/cxf/cxf.xml|bnd.id=294|bnd.sym=endpoint.cxf] 
>>>> cannot be resolved to URL because it does not exist
>>>> 
>>>> which is fair enough, because it doesn’t.
>>>> 
>>>> Any suggestions welcome!
>>>> Thanks, Dan.
>>> 
> 

Reply via email to