Re: Using CXF with Declarative Service

2017-05-10 Thread Christian Schneider
You can use CXF-DOSGi. The examples use declarative services. See https://github.com/apache/cxf-dosgi/tree/master/samples/rest Christian 2017-05-10 10:32 GMT+02:00 Massimo Bono : > Hello, > > I'm playing with Apache Karaf and CXF and I'm trying to setup a REST hello >

Error creating bean with name 'RetrievalSoapJms': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException

2017-05-10 Thread rahulsharma
Hi, I have an application where it uses CXF 2.2.6 jars, Now I am upgrading cxf jars from 2.2.6 to 3.1.11 where I am getting the below exception Error creating bean with name 'EquipmentInventoryRetrievalSoapJms' (EndpointName): Invocation of init method failed; nested exception is

Local "Fallback" Support?

2017-05-10 Thread James Carman
Is there a way to provide an object that implements the JAX-RS service interface that I'm using to generate a proxy to CXF and say "if you get an exception when calling the remote service, talk to this bean instead"?

Re: Using CXF with Declarative Service

2017-05-10 Thread James Carman
It is definitely possible. Microbule (a library I'm working on) supports creating JAX-RS services using the "whiteboard pattern". The SCR example is here: https://github.com/Microbule/microbule/blob/master/example/scr/src/main/java/org/microbule/example/scr/HelloScr.java The interesting part

Re: sources of cxf-2.6.2.jar?

2017-05-10 Thread Maxim Solodovnik
Here are some sources: http://repo1.maven.org/maven2/org/apache/cxf/cxf-bundle/2.6.2/ On Wed, May 10, 2017 at 5:03 PM, John D. Ament wrote: > You should be able to browse all of the source code on github if you're > unable to locate it -

Re: sources of cxf-2.6.2.jar?

2017-05-10 Thread John D. Ament
You should be able to browse all of the source code on github if you're unable to locate it - https://github.com/apache/cxf/tree/cxf-2.6.2 On Wed, May 10, 2017 at 3:48 AM Sigmund God wrote: > We had a old project which have dependency on a jar called cxf-2.6.2.jar. >

Re: sources of cxf-2.6.2.jar?

2017-05-10 Thread Vjacheslav V. Borisov
Look inside archive, may be it contains META-INF/maven folder then you will know reference 2017-05-10 11:48 GMT+04:00 Sigmund God : > We had a old project which have dependency on a jar called cxf-2.6.2.jar. > Now I have to refactoring it for performance. this project is

Using CXF with Declarative Service

2017-05-10 Thread Massimo Bono
Hello, I'm playing with Apache Karaf and CXF and I'm trying to setup a REST hello world application with Declarative Service. Several tutorial are available on the internet (like http://liquid-reality.de/display/liquid/2011/12/22/Karaf+Tutorial+Part+4+-+CXF+Services+in+OSGi or

How to reuse cxf resources and underline HTTP connection?

2017-05-10 Thread Sigmund God
A typical CXF init codes in client look like this: ClientProxyFactoryBean factory = new JaxWsProxyFactoryBean(); > factory.setServiceClass(Service.class); > factory.setAddress(address); > Service service = (Service) factory.create(); > Client client = ClientProxy.getClient(service); > HTTPConduit

sources of cxf-2.6.2.jar?

2017-05-10 Thread Sigmund God
We had a old project which have dependency on a jar called cxf-2.6.2.jar. Now I have to refactoring it for performance. this project is not managed by Maven or anyother dependency tools, so I have to download sources of cxf-2.6.2.jar directly from the web. I search the web but I cannot find it!

CXF STS on OSGI Container

2017-05-10 Thread John David
Hi All I'm working on a project which requires SecurityTokenService implementation using Apache CXF. Currently it is implemented with Axis2. Since we're gonna deploy the STS as a OSGI bundle and all properties such as CallBackHandlers, Keystores, TimeToLive should be read from a xml file at the