Re: Error during WebSocket handshake: Unexpected response code

2016-07-27 Thread Sergey Beryozkin
7;m wondering about the CXF configuration, is the binding to a separate server configured with a "ws://..." (the "ws" part) address mandatory? Regards, JP -Message d'origine- De : Sergey Beryozkin [mailto:sberyoz...@gmail.com] Envoyé : mercredi 27 juillet 2016 12

Re: Error during WebSocket handshake: Unexpected response code

2016-07-27 Thread Sergey Beryozkin
ources/index.html may be you need to set a socket type Cheers, Sergey Regards, JP -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Multiple Recipient for JAX-RS JOSE

2016-07-26 Thread Sergey Beryozkin
Hi Ella No problems, whenever you get a chance Cheers, Sergey On 26/07/16 04:56, ellachen wrote: Hi Sergey, Sorry that I didn't get this reply earlier. I will give it a try and let you know. Cheers, Ella Sergey Beryozkin wrote By the way, can you check JWS JSON JAX-RS filters if you

Re: Collision by Swagger2Feature in two OSGI bundles

2016-07-26 Thread Sergey Beryozkin
Hi No, because Swagger core 1.5.10 has not been released yet Sergey On 26/07/16 01:32, Niten Aggarwal wrote: Hi Sergey, Could you please let me know if https://issues.apache.org/jira/browse/CXF-6740 ticker got pushed to central repository and if yes with what version. PR to Swagger had bee

Re: Blueprint NamespaceHandler issue with karaf 4.0.5

2016-07-22 Thread Sergey Beryozkin
am behind the proxy so definitely it's a proxy issue while loading schemes but not able to understand how to fix it. I thought 1.6.1 has fixed this issue to understand schema resource location. Please let me know how to change online mode. ____ From: S

Re: Multiple Recipient for JAX-RS JOSE

2016-07-21 Thread Sergey Beryozkin
the extra ones are saved in the context properties, for example, the server can use them to build a new JWS JSON request and propagate the remaining entries further... Sergey On 21/07/16 17:43, Sergey Beryozkin wrote: Hi Ella On 21/07/16 02:26, ellachen wrote: Hi Sergey, We are very looking

Re: Multiple Recipient for JAX-RS JOSE

2016-07-21 Thread Sergey Beryozkin
Sorry meant JWE JSON JAX-RS filters, though JWS JSON JAX-RS filters can be tried too Sergey On 21/07/16 17:52, Sergey Beryozkin wrote: By the way, can you check JWS JSON JAX-RS filters if you get a chance. I added them last and the out filters are not streaming yet, but they should be quite

Re: Blueprint NamespaceHandler issue with karaf 4.0.5

2016-07-21 Thread Sergey Beryozkin
iruses and other defects. -------- -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Multiple Recipient for JAX-RS JOSE

2016-07-21 Thread Sergey Beryozkin
ated https://issues.apache.org/jira/browse/CXF-6974 You might want to experiments with those tests too, such as this one: https://tools.ietf.org/html/rfc7520#section-5.13 We'll start adding these tests to the source code later on (def later on this time :-)) Cheers, Sergey Cheers, Ella S

Re: Multiple Recipient for JAX-RS JOSE

2016-07-20 Thread Sergey Beryozkin
indeed to avoid the CEK auto-generation one needs to prepare a byte[] or SecretKey and pass it to AES GCM provider. In the test in the source IV is also passed - only to match the expected output, not required otherwise Sergey On 20/07/16 11:36, Sergey Beryozkin wrote: Hi Ella On 20/07/16 06:32

Re: Multiple Recipient for JAX-RS JOSE

2016-07-20 Thread Sergey Beryozkin
st archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF Rest Spring Boot Interceptor Configuration

2016-07-19 Thread Sergey Beryozkin
It is there just has not been deployed, the snapshot builds have been a bit unstable Sergey On 19/07/16 17:59, Christopher Gardner wrote: Not in the 3.2.0 snapshot yet. On Tue, Jul 19, 2016 at 10:20 AM, Sergey Beryozkin wrote: 3.1.7-SNAPSHOT On 19/07/16 16:30, Christopher Gardner wrote

Re: CXF Rest Spring Boot Interceptor Configuration

2016-07-19 Thread Sergey Beryozkin
3.1.7-SNAPSHOT On 19/07/16 16:30, Christopher Gardner wrote: Which version of the cxf starter is this in? On Mon, Jul 18, 2016 at 3:21 AM, Sergey Beryozkin wrote: Hi On 17/07/16 23:06, Christopher Gardner wrote: Is there a preferred approach to setting up in and out interceptors? I&#

Re: Multiple Recipient for JAX-RS JOSE

2016-07-19 Thread Sergey Beryozkin
IV is indeed shared, I forgot, when documenting to point it out. I'm going to update the docs, but will also look later on how to avoid having to specify CEK manually Thanks, Sergey On 19/07/16 11:49, Sergey Beryozkin wrote: Hi Ella Many thanks for starting experimenting with the JOSE co

Re: Multiple Recipient for JAX-RS JOSE

2016-07-19 Thread Sergey Beryozkin
when can we expect multiple recipients works? Let me address the above issues. I can not guarantee it will make it into CXF 3.1.7 which is coming soon, but I'll work on it and let you know once it is fixed Thanks again, more feedback is welcome Sergey Cheers, Ella -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: JSON -> JSONP leads to "No message body writer has been found for class"

2016-07-18 Thread Sergey Beryozkin
. This is strange as if I remove the interceptors, the JSON output is correct (the message content is serialized properly). I tried to set the provider to "org.apache.cxf.jaxrs.provider.json.JSONProvider" but with no success (same output). What's wrong? Regards, Jean-Philippe -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: JSONP -> No message body writer has been found for class

2016-07-18 Thread Sergey Beryozkin
Hi Thanks for your query, Have a look please at these two endpoint configurations: 1. https://github.com/apache/cxf/blob/master/systests/jaxrs/src/test/resources/jaxrs/WEB-INF/beans.xml#L123 In this case JSONProvider is updated to recognize a default JSONP type: https://github.com/apache/cxf/b

Re: 403 with CXF OIDC when user has roles

2016-07-18 Thread Sergey Beryozkin
gging users in, so I don't think we need to specify a constraint on the role. Colm. On Mon, Jul 18, 2016 at 12:11 PM, Sergey Beryozkin wrote: One thing to note is that these roles in fediz-oidc/web.xml is a temporarily side-effect of the fact that OIDC is implemented right now as Fediz

Re: 403 with CXF OIDC when user has roles

2016-07-18 Thread Sergey Beryozkin
lly add Authenticated role ? Thanks,Adrian P.S.Here's the extract of my web.xml : Manager User Admin Authenticated User Protected Area /idp/*

Re: JAX-RS returns header Date twice

2016-07-18 Thread Sergey Beryozkin
the httpj configuration. Regards, Allan C. On Mon, Jul 18, 2016 at 3:58 PM, Sergey Beryozkin wrote: Hi AFAIK the below configuration is only applicable if you use an absolute HTTP address in which case an embedded/standalone Jetty instance is created, if you use a relative address then it is a ser

Re: JAX-RS returns header Date twice

2016-07-18 Thread Sergey Beryozkin
, Allan C. On Mon, Jul 18, 2016 at 3:00 PM, Allan C. wrote: Noted. Thanks for the info! Regards, Allan C. On Mon, Jul 18, 2016 at 2:35 PM, Sergey Beryozkin wrote: Hi On 18/07/16 05:58, Allan C. wrote: Hi, I have a jax-rs server configured up and running in a blueprint container. All good

Re: CXF Rest Spring Boot Interceptor Configuration

2016-07-18 Thread Sergey Beryozkin
Hi On 17/07/16 23:06, Christopher Gardner wrote: Is there a preferred approach to setting up in and out interceptors? I'm doing the following, which works: @Configuration public class RestConfig { @Autowired private SpringComponentScanServer provider; @Bean public HelloController helloControlle

Re: JAX-RS returns header Date twice

2016-07-17 Thread Sergey Beryozkin
Hi On 18/07/16 05:58, Allan C. wrote: Hi, I have a jax-rs server configured up and running in a blueprint container. All good except a couple of minor tweaks left. When I test the service, the HTTP headers "Date" appears twice. For instance: HTTP/1.1 401 Unauthorized Date: Mon, 18 Jul 2016 02:

Re: org.apache.cxf.rs.httpservice.context versus org.apache.cxf.servlet.context=/rest in karaf

2016-07-17 Thread Sergey Beryozkin
As far as I recall this one relates to use of embedded Jetty Sergey On 17/07/16 22:27, Benson Margulies wrote: I think you are mixing in org.apache.cxf.rs.address, which is what is documented to cause the direct use of the HTTP transport. On Sun, Jul 17, 2016 at 3:26 PM, Sergey Beryozkin

Re: org.apache.cxf.rs.httpservice.context versus org.apache.cxf.servlet.context=/rest in karaf

2016-07-17 Thread Sergey Beryozkin
guely recall that setting the former means DOSGI will itself register a servlet with OSGI HTTP Service, in the latter case you are configuring a default CXF Servlet which CXF HttpTransport registers. There could be some variations there, Christian knows it all Sergey -- Sergey Beryozkin T

Re: dOSGI JAX-RS questions

2016-07-17 Thread Sergey Beryozkin
ptionMapper()); sf.setProvider(new GenericExceptionMapper()); 2. I have one service that is launched with sf.setServiceClass(ProfileServiceResource.class); (That is, a new object for each request.) Can this be done with some sort of DS factory, or would I want to refactor to get rid of it?

Re: Invocation.Builder and Headers...

2016-07-15 Thread Sergey Beryozkin
rough... Cheers. Sergey On 15/07/16 16:32, James Carman wrote: On Fri, Jul 15, 2016 at 9:11 AM Sergey Beryozkin wrote: Ok, sounds good, please base your test project on 3.0.10-SNAPSHOT which is where I have the test running now Okay, I think I've figured it out. If I use the "Origin&quo

Re: Invocation.Builder and Headers...

2016-07-15 Thread Sergey Beryozkin
Ok, sounds good, please base your test project on 3.0.10-SNAPSHOT which is where I have the test running now Cheers, Sergey On 15/07/16 16:02, James Carman wrote: On Fri, Jul 15, 2016 at 8:19 AM Sergey Beryozkin wrote: On 15/07/16 15:16, James Carman wrote: That was my next thought. I&#x

Re: Invocation.Builder and Headers...

2016-07-15 Thread Sergey Beryozkin
On 15/07/16 15:16, James Carman wrote: That was my next thought. I'll put something on github here in a bit. Thanks for the help, by the way! np, tcp trace first please :-) Sergey On Fri, Jul 15, 2016 at 8:10 AM Sergey Beryozkin wrote: Can you tcp trace the request and see if they a

Re: Invocation.Builder and Headers...

2016-07-15 Thread Sergey Beryozkin
Can you tcp trace the request and see if they are on the wire ? Create a test project please if it does not work for you in the end Sergey On 15/07/16 13:18, James Carman wrote: On Fri, Jul 15, 2016 at 3:46 AM Sergey Beryozkin wrote: This is followed by http://git-wip-us.apache.org/repos

Re: Invocation.Builder and Headers...

2016-07-15 Thread Sergey Beryozkin
This is followed by http://git-wip-us.apache.org/repos/asf/cxf/commit/9bf166b3 to completely match your code sequence Is it only CXF which is loaded ? Sergey On 15/07/16 10:31, Sergey Beryozkin wrote: I did not say I made a commit. Here is the one I just did, works on 3.0.10-SNAPSHOT: http

Re: Invocation.Builder and Headers...

2016-07-15 Thread Sergey Beryozkin
on a WebTarget (not WebClient). Am I looking at the right thing? On Thu, Jul 14, 2016 at 3:26 PM Sergey Beryozkin wrote: Hi On 14/07/16 19:24, James Carman wrote: I am building up a request similar to this: Invocation.Builder builder = ClientBuilder.newClient().target(" http://localhost:

Re: Invocation.Builder and Headers...

2016-07-14 Thread Sergey Beryozkin
Hi On 14/07/16 19:24, James Carman wrote: I am building up a request similar to this: Invocation.Builder builder = ClientBuilder.newClient().target(" http://localhost:8080/hello";).request(MediaType.TEXT_PLAIN_TYPE).header("foo", "bar"); Response response = builder.get(); However, when the requ

Re: dOSGI with REST annotations

2016-07-14 Thread Sergey Beryozkin
Hi Benson Have a look at this one: https://github.com/apache/cxf-dosgi/tree/master/samples/greeter_rest Sergey On 14/07/16 21:42, Benson Margulies wrote: So, I'd like to take advantage of the dOSGI code's expertise in launching service endpoints in OSGi bundles with the right class loaders and

Re: Using the same Application subclass for multiple defined REST servlets

2016-07-14 Thread Sergey Beryozkin
Application subclass? I guess they need to get that since (if I remember correct) the spec allows me to inject e.g. a ServletConfig instance in the constructor using @Context Regards Lars-Fredrik On Wed, Jul 13, 2016 at 6:15 PM, Sergey Beryozkin wrote: I got a bit confused there myself. Just

Re: Using the same Application subclass for multiple defined REST servlets

2016-07-13 Thread Sergey Beryozkin
. Regards LF On Wed, Jul 13, 2016 at 12:12 PM, Sergey Beryozkin wrote: Hi Right. @ApplicationPath is expected to be ignored anyway when the application is wired in via a servlet. I thought a bit more about it. Each CXF endpoint typically uses a relative endpoint address, "/" by d

Re: Using the same Application subclass for multiple defined REST servlets

2016-07-13 Thread Sergey Beryozkin
ee some follow ups inline Regards LF On Mon, Jul 11, 2016 at 1:00 PM, Sergey Beryozkin wrote: Hi Please see comments inline On 10/07/16 16:03, Lars-Fredrik Smedberg wrote: Hi! To be able to expose different root resources for different paths I have defined my REST servlet (com.ibm.

Re: arrayKeys and serializeAsArray support

2016-07-11 Thread Sergey Beryozkin
Hi On 11/07/16 21:02, M.Ismail wrote: Hi, I am using camel 2.13 and CXF 2.7.7 and I am using the workaround serializeAsArray and arrayKeys to solve the single item array issue. However, the webservice specs that I call have changed and I can this workaround isn't applicable anymore. What are my

Re: Using the same Application subclass for multiple defined REST servlets

2016-07-11 Thread Sergey Beryozkin
existing workaround (with two subclasses) for now, Cheers, Sergey Regards Lars-Fredrik -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF-6952 | Swagger2Featue not scanning CXF resources

2016-07-06 Thread Sergey Beryozkin
Sounds good, let me resolve CXF-6952 again :-) Sergey On 06/07/16 19:11, Niten Aggarwal wrote: Hi Sergery, It's working now. Thanks, Niten Aggarwal -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: Wednesday, July 06, 2016 8:00 AM To: users@cxf.apach

Re: CXF-6952 | Swagger2Featue not scanning CXF resources

2016-07-06 Thread Sergey Beryozkin
icate further. Thanks. From: Sergey Beryozkin [sberyoz...@gmail.com] Sent: Wednesday, July 06, 2016 7:57 PM To: users@cxf.apache.org Subject: Re: CXF-6952 | Swagger2Featue not scanning CXF resources Hi Niten It is fault, I did a typo there, just committed

Re: CXF-6952 | Swagger2Featue not scanning CXF resources

2016-07-06 Thread Sergey Beryozkin
heck them for viruses and other defects. ---- -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Moving CXF SwaggerFeature into its own module

2016-07-05 Thread Sergey Beryozkin
Have just merged to 3.1.x. Cheers, Sergey On 04/07/16 16:32, Sergey Beryozkin wrote: Hi Andriy Romain proposed it earlier, I agree it is quite timely at this stage :-) Cheers, Sergey On 04/07/16 15:53, Andrey Redko wrote: Hey Sergey, Great idea I think, we may add even more features around

Re: Moving CXF SwaggerFeature into its own module

2016-07-04 Thread Sergey Beryozkin
4, 2016 at 9:51 AM, Sergey Beryozkin mailto:sberyoz...@gmail.com>> wrote: Hi All as part of CXF-6760 [1] I've moved the Swagger code into its own cxf-rt-rs-description-swagger module. It makes it easier for the users to choose between WADL and Swagger (example, r

Re: Moving CXF SwaggerFeature into its own module

2016-07-04 Thread Sergey Beryozkin
:51, Sergey Beryozkin wrote: Hi All as part of CXF-6760 [1] I've moved the Swagger code into its own cxf-rt-rs-description-swagger module. It makes it easier for the users to choose between WADL and Swagger (example, right now if only WADL is preferred then no Swagger endpoint is there but not

Moving CXF SwaggerFeature into its own module

2016-07-04 Thread Sergey Beryozkin
Hi All as part of CXF-6760 [1] I've moved the Swagger code into its own cxf-rt-rs-description-swagger module. It makes it easier for the users to choose between WADL and Swagger (example, right now if only WADL is preferred then no Swagger endpoint is there but not vice versa, having Swagger e

Re: Deploying in an Uber JAR with CXF CDI

2016-07-03 Thread Sergey Beryozkin
Here are the docs written by Andriy Redko (CC-ed) http://cxf.apache.org/docs/using-cxf-and-cdi-11-jsr-346.html Sergey On 03/07/16 22:02, Sergey Beryozkin wrote: Hi Here are the system CDI tests : https://github.com/apache/cxf/tree/master/systests/cdi They run OK. Here is some info about

Re: Deploying in an Uber JAR with CXF CDI

2016-07-03 Thread Sergey Beryozkin
Hi Here are the system CDI tests : https://github.com/apache/cxf/tree/master/systests/cdi They run OK. Here is some info about CXF and the shade plugin: http://cxf.apache.org/docs/bundling-cxf-into-single-jar-with-maven-shade-plugin.html Let us know if that helps Cheers, Sergey On 03/07/16

Re: Unable to find the deployed rest webservice in tomcat+cxf

2016-07-01 Thread Sergey Beryozkin
) getCategoryDAO().getCategory(id); if (cat == null) { return Response.status(Status.NOT_FOUND).build(); } else { cat.setBooks(getCategoryDAO().getBooks(id)); return Response.ok(cat).build(); } } } Thanks, Dinesh -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Spring Boot CXF JAX-RS and Gradle

2016-07-01 Thread Sergey Beryozkin
Updated the docs at https://cwiki.apache.org/confluence/display/CXF20DOC/SpringBoot#SpringBoot-AdditionalConfiguration.1 Sergey On 01/07/16 11:13, Sergey Beryozkin wrote: I've just committed a code which adds a jaxrs.classes-scan property, see https://issues.apache.org/jira/browse/CXF

Re: Spring Boot CXF JAX-RS and Gradle

2016-07-01 Thread Sergey Beryozkin
onProvider and JacksonJsonProvider. I see this option being useful as it is less intrusive (no need to add @Component) but it needs to be used with care as far as auto-discovering 3rd party providers is concerned Give it a try please Sergey On 24/06/16 17:38, Sergey Beryozkin wrote: Yes, right now the compon

Re: Disappearing transport factory in Karaf cxf 3.1.4 karaf 4.0.4

2016-06-28 Thread Sergey Beryozkin
Transport I've never seen anything like this. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Disappearing transport factory in Karaf cxf 3.1.4 karaf 4.0.4

2016-06-28 Thread Sergey Beryozkin
I reproduced it like this: dropped a bundle into a fresh container's 'deploy' folder, started the container and saw this failure, restarted the container - the bundle was Active/OK Sergey On 28/06/16 15:43, Sergey Beryozkin wrote: I saw it too today, some concurrency/ordering i

Re: Spring Boot CXF JAX-RS and Gradle

2016-06-24 Thread Sergey Beryozkin
message body writer has been found for class com.adp.vsldh.api.GreetingData, ContentType: application/json On Fri, Jun 24, 2016 at 6:01 AM, Sergey Beryozkin wrote: At the moment 2 properties are supported: http://cxf.apache.org/docs/springboot.html#SpringBoot-AdditionalConfiguration.1 &q

Re: Spring Boot CXF JAX-RS and Gradle

2016-06-24 Thread Sergey Beryozkin
lowing: * cxf properties that can be set in application.properties * Examples of configuring Jackson for converting Response entities to json. On Thu, Jun 23, 2016 at 4:43 AM, Sergey Beryozkin wrote: On 23/06/16 00:22, Christopher Gardner wrote: Has anyone on this list been able to get the cxf-

Re: Spring Boot CXF JAX-RS and Gradle

2016-06-23 Thread Sergey Beryozkin
On 23/06/16 00:22, Christopher Gardner wrote: Has anyone on this list been able to get the cxf-spring-boot-starter-jaxrs working with gradle? If so, what did you do? See a demo done by Vedran, https://github.com/vpavic-samples/spring-boot-cxf-jaxrs which has gradle scripts, he has a demo for J

Re: Swagger2Feature with multiple endpoints and multiple ports

2016-06-23 Thread Sergey Beryozkin
-ports-tp5769673.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF question

2016-06-22 Thread Sergey Beryozkin
., Sergey Beryozkin wrote: I've started documenting it at: https://cwiki.apache.org/confluence/display/CXF20DOC/JAX-RS+OIDC Cheers, Sergey On 20/06/16 11:14, Sergey Beryozkin wrote: Hi Edmundo Thanks for your query, let me CC to the users list as it can be of interest to others too. FYI

Re: CXF question

2016-06-22 Thread Sergey Beryozkin
I've started documenting it at: https://cwiki.apache.org/confluence/display/CXF20DOC/JAX-RS+OIDC Cheers, Sergey On 20/06/16 11:14, Sergey Beryozkin wrote: Hi Edmundo Thanks for your query, let me CC to the users list as it can be of interest to others too. FYI, CXF ships OIDC service/ID

Re: Unwanted bunch of Bus Provider objects in HashMap occupying large volumes of heap memory

2016-06-21 Thread Sergey Beryozkin
I've removed the code setting this bus property. When it was initially introduced few years back I believe a single factory was supporting multiple endpoints, hence it was needed at a time. Thanks, Sergey On 20/06/16 20:49, Sergey Beryozkin wrote: Setting providers directly on a bus is

Re: Unwanted bunch of Bus Provider objects in HashMap occupying large volumes of heap memory

2016-06-20 Thread Sergey Beryozkin
eap-memory-tp5769515p5769607.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF question

2016-06-20 Thread Sergey Beryozkin
Hi Edmundo Thanks for your query, let me CC to the users list as it can be of interest to others too. FYI, CXF ships OIDC service/IDP and RP support code. As such it does not offer a complete OpenId Connect provider implementation OOB but we do put a lot of effort into making this support co

Re: Unwanted bunch of Bus Provider objects in HashMap occupying large volumes of heap memory

2016-06-19 Thread Sergey Beryozkin
bble%3Aemail.naml> -- View this message in context: http://cxf.547215.n5.nabble.com/Unwanted-bunch-of-Bus-Provider-objects-in-HashMap-occupying-large-volumes-of-heap-memory-tp5769515p5769533.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Message specific CXF interceptors

2016-06-07 Thread Sergey Beryozkin
sage.FAULT_OUT_INTERCEPTORS, interceptorAsList); } } Hope this clarifies how I use it. Thanks Mandy On 7 Jun 2016, at 10:12, Sergey Beryozkin wrote: Hi Mandy Dan may provide more details later on, few comments below in meantime: On 06/06/16 23:08, Mandy Warren wrote: Hi, We currently register

Re: disable new cookie value auto-quoting?

2016-06-07 Thread Sergey Beryozkin
Hi It has been fixed in https://issues.apache.org/jira/browse/CXF-6862 Can you try CXF 3.1.6 please ? I'll think of introducing an option of disabling it completely unless a given value contains a space character, but CXF 3.1.6 should deal correctly again with Path values with '/' characters

Re: Request with no content-type header gets 415 for jaxrs service

2016-06-07 Thread Sergey Beryozkin
operty, would configuring this property achieve the same effect ? -- View this message in context: http://cxf.547215.n5.nabble.com/Request-with-no-content-type-header-gets-415-for-jaxrs-service-tp5769326p5769353.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin

Re: Message specific CXF interceptors

2016-06-07 Thread Sergey Beryozkin
Hi Mandy Dan may provide more details later on, few comments below in meantime: On 06/06/16 23:08, Mandy Warren wrote: Hi, We currently register a number of interceptors against the endpoint when our Rest service starts up. I have a specific scenario whereby when I call a backend system I nee

Re: Request with no content-type header gets 415 for jaxrs service

2016-06-06 Thread Sergey Beryozkin
View this message in context: http://cxf.547215.n5.nabble.com/Request-with-no-content-type-header-gets-415-for-jaxrs-service-tp5769326.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Swagger2Feature jar and version

2016-06-03 Thread Sergey Beryozkin
CXF feature. Chris Riley, Manager HKM Consulting LLC cri...@hkmconsultingllc.com (o) 774-357-5900 (m) 508-273-3102 (f) 774-357-5905 On Jun 3, 2016, at 4:14 PM, Sergey Beryozkin wrote: Hi All it does it ensures that Swagger JSON or YAML doc is available to the clients (browsers, etc

Re: Swagger2Feature jar and version

2016-06-03 Thread Sergey Beryozkin
rying to make it work in a standalone container Cheers, Sergey On 03/06/16 21:30, Sergey Beryozkin wrote: I've no idea to be honest how Swagger works internally, I don't think it dumps any files though, the fact it responds to /swagger.json does not mean it has any files produced, it is a

Re: Swagger2Feature jar and version

2016-06-03 Thread Sergey Beryozkin
tuation exactly. I need cxf + spring + stand alone app (no .war) Well, try description_swagger - Andriy Redko did it, looks like it is a standalone one, Swagger(1) but setting UI should be the same as for Swagger2 Sergey On Fri, Jun 3, 2016 at 2:15 PM, Sergey Beryozkin [via CXF] < ml-no

Re: Swagger2Feature jar and version

2016-06-03 Thread Sergey Beryozkin
message in context: http://cxf.547215.n5.nabble.com/Swagger2Feature-jar-and-version-tp5769165p5769278.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Swagger2Feature jar and version

2016-06-02 Thread Sergey Beryozkin
http://0.0.0.0:8877"; depends-on="activeMQConnectionFactory"> On Wed, Jun 1,

Re: Question regarding jax-rs-catalog.xml

2016-06-01 Thread Sergey Beryozkin
im HRB 351761 / USt.-IdNr.: DE 198388516 -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Swagger2Feature jar and version

2016-06-01 Thread Sergey Beryozkin
Hi I'll be moving it into a dedicated module in 3.2.0-SNAPSHOT, the current module has both WADL and Swagger code Cheers, Sergey On 01/06/16 00:35, Benson Margulies wrote: Somewhere in [INFO]org.apache.cxf:cxf-rt-rs-service-description:jar:3.1.4:provided On Tue, May 31, 2016 at 7:3

Re: Is there a way to control the depth of recursiveness in @QueryParam?

2016-05-31 Thread Sergey Beryozkin
Is this also a bug? Anyway, thanks for your help. The @BeanParam should work for me now. Dongfeng On Monday, May 30, 2016 3:40 PM, Sergey Beryozkin wrote: Hi May be WADL generator only checks annotated getters and setters, I'll check tomorrow, though the runtime will support the

Re: Is there a way to control the depth of recursiveness in @QueryParam?

2016-05-30 Thread Sergey Beryozkin
I searched the user group and found discussions around ticket CXF-5989. It seems it had been fixed, so I was confused. Did I do something wrong? Thanks, Dongfeng On Monday, May 30, 2016 5:02 AM, Sergey Beryozkin wrote: Hi WADLGenerator is already blocking the recurs

Re: Is there a way to control the depth of recursiveness in @QueryParam?

2016-05-30 Thread Sergey Beryozkin
ctly to the server. However, the WADL is still wrong, and I could not find way to have CXF client to send correct URLs to the server. I believe this is the side effect of the fix for CXF-2153 ticket. Is there a way to configure it so it only goes down one level into Retrieve class, and not into its components' XMLGregorianCalendar classes? Thanks,Dongfeng -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: com.sun.xml.internal.ws.client.ClientTransportException: The server sent the status code HTTP 406 : Not Acceptable

2016-05-26 Thread Sergey Beryozkin
Hi Quick question, can a JAX-WS server return 406 ? is it a CXF JAX-WS server ? Cheers, Sergey On 25/05/16 15:44, nicolasduminil wrote: Greetings, I have a JAX-WS web service deployed on an app server and I try to call it via a JAX-WS client generated by the maven cxf-codegen-plugin. But it

Re: CXF 3.1.6 - Headers Added MessageBodyWriter Don't Appear to be Flushed Before OutputStream

2016-05-18 Thread Sergey Beryozkin
fixes. Let leave that on the client side. Regards, Andrei. -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: Dienstag, 17. Mai 2016 21:54 To: users@cxf.apache.org Subject: Re: CXF 3.1.6 - Headers Added MessageBodyWriter Don't Appear to be Flushed B

Re: CXF 3.1.6 - Headers Added MessageBodyWriter Don't Appear to be Flushed Before OutputStream

2016-05-17 Thread Sergey Beryozkin
owing: http://stackoverflow.com/questions/9154415/firefox-and-content- disposition-header Someone on that thread said he or she used double quotes around the file name. This now works for me. Thanks for your help. On Tue, May 17, 2016 at 10:57 AM, Sergey Beryozkin wrote: Which confirms the heade

Re: CXF 3.1.6 - Headers Added MessageBodyWriter Don't Appear to be Flushed Before OutputStream

2016-05-17 Thread Sergey Beryozkin
/1.1 200 OK Server: Apache-Coyote/1.1 Date: Tue, 17 May 2016 14:25:26 GMT Content-Disposition: attachment; filename=My_Report.xlsx Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet Transfer-Encoding: chunked On Tue, May 17, 2016 at 9:04 AM, Sergey Beryozkin wrote

Re: CXF 3.1.6 - Headers Added MessageBodyWriter Don't Appear to be Flushed Before OutputStream

2016-05-17 Thread Sergey Beryozkin
bmit via 9001, and check in the tcp trace what is coming back, which headers are set. Or may be enable Firefox and Chrome debug mode and see which headers came back there... Let me know what you find please Cheers, Sergey On Tue, May 17, 2016 at 7:37 AM, Sergey Beryozkin wrote:

Re: CXF 3.1.6 - Headers Added MessageBodyWriter Don't Appear to be Flushed Before OutputStream

2016-05-17 Thread Sergey Beryozkin
a.lang.reflect.Type-java.lang.annotation.Annotation:A-javax.ws.rs.core.MediaType-javax.ws.rs.core.MultivaluedMap-java.io.OutputStream- Is there anything I can do to ensure the header value created within MessageBodyWriter.writeTo() is seen before the body is? -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: URI template resolution issue for query params

2016-05-17 Thread Sergey Beryozkin
Np, I got it fixed, see https://issues.apache.org/jira/browse/CXF-6906 thanks for the tests, Cheers, Sergey On 17/05/16 08:46, Nicolas Lenoire wrote: Sergey, No, I don't know how Jersey behaves with the 2). Regards, - NL On 5/16/2016 18:39, Sergey Beryozkin wrote: On 16/05/16

Re: URI template resolution issue for query params

2016-05-16 Thread Sergey Beryozkin
On 16/05/16 13:11, Sergey Beryozkin wrote: Hi On 12/05/16 06:12, Sergey Beryozkin wrote: Hi On 10/05/16 15:21, Nicolas Lenoire wrote: Hello, Environment: CXF (JAXRS) 3.1.5 / JDK 1.7 / Windows 10 I'm trying to resolve query params of a templated URI. However, I'm unable to achive

Re: Error handling in out interceptor in jaxrs

2016-05-16 Thread Sergey Beryozkin
issue earlier) Cheers, Sergey On 16/05/16 17:21, Rice Yeh wrote:t Hi Sergey, "the exceptions thrown from either in or out chains are expected to be caught by the registered mappers". I tried it, cxf's jaxrs does not follows what you said. Rice On Mon, May 16, 2016 at 4:26 PM, S

Re: MultipartProvider

2016-05-16 Thread Sergey Beryozkin
sketching out a much service in which it might make sense to use @Multipart, so I would need, I now understand, to use the provider. On Mon, May 16, 2016 at 9:29 AM, Sergey Beryozkin wrote: Are you having built in types like InputStream in the signature ? Please see http://cxf.apache.org/docs/

Re: MultipartProvider

2016-05-16 Thread Sergey Beryozkin
a single part one needs to add @Multipart to it. May be you can type here the method signature if you see some other unexpected issues Sergey On 16/05/16 14:21, Benson Margulies wrote: Sergey, it's not in the provider list by default, is it? On Mon, May 16, 2016 at 4:36 AM, Sergey Bery

Re: URI template resolution issue for query params

2016-05-16 Thread Sergey Beryozkin
Hi On 12/05/16 06:12, Sergey Beryozkin wrote: Hi On 10/05/16 15:21, Nicolas Lenoire wrote: Hello, Environment: CXF (JAXRS) 3.1.5 / JDK 1.7 / Windows 10 I'm trying to resolve query params of a templated URI. However, I'm unable to achive this using the following approachs: 1)

Re: MultipartProvider

2016-05-16 Thread Sergey Beryozkin
code that does not use it.) If someone would remind me what it does, I'd commit the javadoc to it. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Error handling in out interceptor in jaxrs

2016-05-16 Thread Sergey Beryozkin
tp-2.7.11.jar:2.7.11] -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Where does the swagger doc show up?

2016-05-12 Thread Sergey Beryozkin
Hi Benson Have a look a look at one of the swagger 2 demos, you can see there how to integrate Swagger UI, etc Sergey On 12/05/16 20:29, Benson Margulies wrote: http://cxf.apache.org/docs/swagger2feature.html does not reveal the URL to the results. -- Sergey Beryozkin Talend Community

Re: URI template resolution issue for query params

2016-05-11 Thread Sergey Beryozkin
"my/path?qp={param}").resolveTemplate("param", "value").toTemplate(); => The uri string is equal to "my/path%3Fqp=value" whereas it should be "my/path?qp=value" I'm not sure about this one, i.e, given a relative URI, should '?

Re: No operation matching request path...

2016-05-11 Thread Sergey Beryozkin
route to based on that particular address? -- View this message in context: http://cxf.547215.n5.nabble.com/No-operation-matching-request-path-tp556149p5768585.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: No operation matching request path...

2016-05-11 Thread Sergey Beryozkin
le.com/No-operation-matching-request-path-tp556149p5768521.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Jso-api/Katharsis.io

2016-05-06 Thread Sergey Beryozkin
Features are now recognized directly on the server side too (is expected to work starting from CXF 3.1.7) Thanks, Sergey On 30/10/15 15:59, Sergey Beryozkin wrote: Hmm, looks like a Feature can be directly registered with the server too. Apparently TCKs do not enforce that... It can actually

Re: Dealing with Jettison array serialization issues

2016-05-04 Thread Sergey Beryozkin
On 04/05/16 07:15, Vjacheslav V. Borisov wrote: 2016-05-03 12:01 GMT+04:00 Sergey Beryozkin : And also copied from AbstractJAXBProvider extraClass and contextProperties support to custom JaxbContextResolver https://github.com/ilb/common/blob/master/common-jaxrs/src/main/java/ru/ilb/common

Re: Dealing with Jettison array serialization issues

2016-05-03 Thread Sergey Beryozkin
diffferent JSON provider -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Shiro issue with CXF

2016-04-28 Thread Sergey Beryozkin
hiro.core:1.2.4] -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

<    1   2   3   4   5   6   7   8   9   10   >