Re: Getting Swagger2 Working...

2017-05-12 Thread Carlos Sierra Andrés
Hey there... might it be that you are not registering a JAX-RS application per se? You can try registering it when getting the JAXRSServerFactoryBean with RuntimeDelegateruntimeDelegate =RuntimeDelegate.getInstance(); runtimeDelegate.createEndpoint(application, JAXRSServerFactoryBean.class); t

Getting Swagger2 Working...

2017-05-12 Thread James Carman
I've been trying to get some meaningful JSON out of the Swagger2Feature in OSGi, but it keeps coming out rather "vanilla". It doesn't show any operations. When I start it up using Spring, it works fine. I can run the Swagger OSGi example just fine after building 3.2.0-SNAPSHOT locally and I see

Re: Gemini Blueprint and JAX RS

2017-05-12 Thread SetNug
Hi Christian, I've run another problem when invoking REST service if the Karaf framework is Equinox: 2017-05-08 18:13:50,873 | ERROR | p1826628273-2034 | JAXRSUtils | 46 - org.apache.cxf.cxf-rt-frontend-jaxrs - 3.1.1 | No message body reader has been found for class com.mod

Re: Tomcat 7 with CXF 2.7, two WARs causing BeanCurrentlyInCreationException

2017-05-12 Thread Alex O'Ree
Ahh sorry I missed your reply. The answer is no. I deployed the war with the problem to a clean tomcat instance and hit the same problem. It appears that my service implementation is causing this issue. I'm still not sure why. I'm going to comment out everything then slowly readd code until it wo

Re: How to reuse cxf resources and underline HTTP connection?

2017-05-12 Thread Sigmond Hola
Any any help me, pls? Thank u so much! On Wed, May 10, 2017 at 4:27 PM, Sigmund God wrote: > A typical CXF init codes in client look like this: > > ClientProxyFactoryBean factory = new JaxWsProxyFactoryBean(); >> factory.setServiceClass(Service.class); >> factory.setAddress(address); >> Service

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

2017-05-12 Thread rahulsharma
Below is the stack trace for the error above [main].BaseApplication.main:591 {12/05/2017 10:05:19.530} >> ERROR > EXCEPTION { > Cause : javax.xml.ws.WebServiceException: > org.apache.cxf.service.factory.ServiceConstructionException > Message : Error creating bean with name > 'EquipmentInven

Re: ContainerRequestFilter not triggered on subresource

2017-05-12 Thread Sergey Beryozkin
Hi Rémi Sure, re-open CXF-7367 if you can indeed find the issue with the CXF code. I think this specific scenario has been TCK tested - though it is possible the TCK coverage has not been great. The easiest way would be to debug as I suggested earlier. Note if you subresource method contains

Re: ContainerRequestFilter not triggered on subresource

2017-05-12 Thread Rémi AUBEL
Hi Sergey, It's strange. For now, I will use pre-matching filters only. When I have more time, I will investigate more. Thanks again. Rémi. -- View this message in context: http://cxf.547215.n5.nabble.com/ContainerRequestFilter-not-triggered-on-subresource-tp5780240p5780423.html Sent from the