Programmatic approach for Circuit-Breaker feature is not working

2018-03-02 Thread ranadeep.sha...@gmail.com
As per the documentation - https://cwiki.apache.org/confluence/display/CXF20DOC/JAX-RS+Failover#JAX-RSFailover-Code.1, I tried running the following code along with associated configurations, but the circuit breaker mechanism is not opening up once the threshold count for connectivity failures have

Re: cxf + swagger (DOSGI 2.2.0 + cxf 3.2.1)

2018-03-02 Thread nino martinez wael
I get this: karaf@root()> feature:install aries-blueprint karaf@root()> install -s mvn:org.apache.cxf.samples/jax_rs_description_swagger2_osgi/3.2.3-SNAPSHOT Bundle ID: 116 Error executing command: Error installing bundles: Unable to start bundle mvn:org.apache.cxf.samples/jax_rs_descripti

Re: cxf + swagger (DOSGI 2.2.0 + cxf 3.2.1)

2018-03-02 Thread Jean-Baptiste Onofré
It seems you are mixing swagger 1 and 2 features, can you try a refresh or from a clean install ? Regards JB On 03/02/2018 11:40 AM, nino martinez wael wrote: > I get this: > > karaf@root()> feature:install aries-blueprint > karaf@root()> install -s > mvn:org.apache.cxf.samples/jax_rs_descriptio

Re: cxf + swagger (DOSGI 2.2.0 + cxf 3.2.1)

2018-03-02 Thread nino martinez wael
on a clean 3.0.8: Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. D:\apache-karaf-3.0.8\bin>karaf __ __ / //_/ __ _/ __/ / ,< / __ `/ ___/ __ `/ /_ / /| |/ /_/ / / / /_/ / __/ /_

Re: cxf + swagger (DOSGI 2.2.0 + cxf 3.2.1)

2018-03-02 Thread Jean-Baptiste Onofré
Karaf features namespace 1.4 is supported by Karaf 4.x, not 3.x. Regards JB On 03/02/2018 12:02 PM, nino martinez wael wrote: > on a clean 3.0.8: > > Microsoft Windows [Version 6.1.7601] > Copyright (c) 2009 Microsoft Corporation. All rights reserved. > > D:\apache-karaf-3.0.8\bin>karaf >

Re: cxf + swagger (DOSGI 2.2.0 + cxf 3.2.1)

2018-03-02 Thread nino martinez wael
clean karaf 4.2 m2 with only CXF 3.2.3-SNAPSHOT D:\apache-karaf-4.2.0.M2\bin>karaf __ __ / //_/ __ _/ __/ / ,< / __ `/ ___/ __ `/ /_ / /| |/ /_/ / / / /_/ / __/ /_/ |_|\__,_/_/ \__,_/_/ Apache Karaf (4.2.0.M2) Hit '' for a lis

Followed wsdl_first_https but when I deploy to the server get not a valid service

2018-03-02 Thread David Wynter
I converted the wsdl_first_https sample for 3.2.2 to use my wsdl and implemntation classes. I got it running locally. Then when I deploy to my server with my keystore it gives this error javax.xml.ws.WebServiceException: {https://qcbfetchdemo.creditswift.co.uk:8081/qcbfetch}QCBFetchService

JAXBException when streaming XML response

2018-03-02 Thread doug-6
I'm using CXF 3.1.7 to create a JAXRS service that uses with no custom providers. I'm trying to send a stream of data back in the http response using content-type application/custom+xml. The http response entity is set to an instance of a class that implements javax.ws.core.StreamingOutput. When r