Dan,
Below are some places to look.

- I define endpoint for Web Services in src/main/resources/cxf.xml of Maven 
based projects.

- http://web-gmazza.rhcloud.com/blog/entry/blog-index

- Jean-Baptiste Onofré blog site
    http://blog.nanthrax.net/2011/08/jax-rs-services-using-cxf-and-karaf/

***
* Depending on the CXF Features installed, help is a resource
***
karaf@ewm-server()> help cxf
COMMANDS
cxf:list-busses    Lists all CXF Busses.                                        
                                                                                
                                                                                
                                             
cxf:list-endpoints Lists all CXF Endpoints on a Bus.                            
                                                                                
                                                                                
                                             
cxf:start-endpoint Starts a CXF Endpoint on a Bus.                              
                                                                                
                                                                                
                                             
cxf:stop-endpoint  Stops a CXF Endpoint on a Bus.                               
                                                                                
                                                                                
                                              
karaf@ewm-server()> 


Paul Spencer

> On Sep 28, 2015, at 8:15 AM, Daniel McGreal <[email protected]> wrote:
> 
> Hi all,
> Could someone using CXF point me in the right direction? How should I launch 
> my endpoint?
> Best, Dan.
> 
>> On 25 Sep 2015, at 18:06, Daniel McGreal <[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,
>>  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