Re: JAX-RS response encoding

2016-10-25 Thread Sergey Beryozkin
aTypes(JAXRSUtils.java:233) at org.apache.cxf.jaxrs.model.OperationResourceInfo.checkMediaTypes( OperationResourceInfo.java:249) at org.apache.cxf.jaxrs.model.OperationResourceInfo.( OperationResourceInfo.java:89) Regards Dennis -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: JAX-RS Client implementing a challenge/response authentication

2016-10-25 Thread Sergey Beryozkin
.de> wrote: This is a 3rd party server I unfortunately cannot influence. Any way to to modify the WWW-Authorize handling in CXF? Where is the piece of code being responsible for triggering the retransmit evaluating the WWW-Authorize header? Thanks, Konrad On 25 Oct 2016, at 12:23, Sergey Ber

Re: Matrix parameter flags as per Web Application Description Language specification?

2016-10-25 Thread Sergey Beryozkin
Hi I think it is an optimization as opposed to some 'must' rule governing the way all the boolean matrix properties are represented. I agree having something like "/somepath;enabled" looks better than "/somepath;enabled=true" and "/somepath;enabled=false" is more verbose than

Re: JAX-RS Client implementing a challenge/response authentication

2016-10-25 Thread Sergey Beryozkin
) at org.apache.cxf.jaxrs.client.ClientProxyImpl.doChainedInvocation(ClientProxyImpl.java:755) at org.apache.cxf.jaxrs.client.ClientProxyImpl.invoke(ClientProxyImpl.java:228) ... Thanks for any help, Konrad On 19 Oct 2016, at 12:32, Sergey Beryozkin <sberyoz...@gmail.com> wrot

Re: Automatic client-side beanvalidation?

2016-10-24 Thread Sergey Beryozkin
(currently this is not mentioned in the docs)? Maybe it would make sense to add this to the configuration, so this has not to be done manually before calling the server? Best regards, Johannes -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF Spring Boot integration tests with BeanValidation - ValidationException occurs after successful call

2016-10-24 Thread Sergey Beryozkin
Or register the validation feature directly on the server endpoint Sergey On 24/10/16 13:10, Sergey Beryozkin wrote: Hi This is caused by the fact that a server-scoped feature is visible to a client because this feature is set on a bus visible to the client. I've just updated the code

Re: CXF Spring Boot integration tests with BeanValidation - ValidationException occurs after successful call

2016-10-24 Thread Sergey Beryozkin
Hi This is caused by the fact that a server-scoped feature is visible to a client because this feature is set on a bus visible to the client. I've just updated the code for this feature be explicitly marked as a Server scoped feature - but it will only help for now if the features are

Re: ParamCoverter, List, CSV query parameters

2016-10-24 Thread Sergey Beryozkin
argument in the requested resource method. But I'll let people more expert than me discuss on this. Thanks, Diego 2016-10-24 0:30 GMT+02:00 Sergey Beryozkin <sberyoz...@gmail.com>: I can't agree to this. So a user registering a custom List provider breaks the runtime ensuring the servic

Re: ParamCoverter, List, CSV query parameters

2016-10-23 Thread Sergey Beryozkin
cheers, Diego 2016-10-17 17:37 GMT+02:00 Sergey Beryozkin <sberyoz...@gmail.com>: Hi In the JAX-RS users thread which I referred to below I did ask about and I don't think I got a +1 from one the spec leads on having ParamConverterProvider supporting List, please check the archives. And

Re: ParamCoverter, List, CSV query parameters

2016-10-23 Thread Sergey Beryozkin
ssed as a whole as argument of the requested resource method. Hope that this clarify, cheers, Diego 2016-10-17 17:37 GMT+02:00 Sergey Beryozkin <sberyoz...@gmail.com>: Hi In the JAX-RS users thread which I referred to below I did ask about and I don't think I got a +1 from one the spec leads

Re: JAX-RS Client implementing a challenge/response authentication

2016-10-19 Thread Sergey Beryozkin
a 401? Has someone ever implemented something like this? Thanks, Konrad -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Using JAXRSBeanValidationOutInterceptor causes Fault when validation of an object fails

2016-10-18 Thread Sergey Beryozkin
om the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: jaxrs-xsd

2016-10-18 Thread Sergey Beryozkin
This CXF version is old (not supported) while Spring version is quite new, perhaps something is not linking properly between Spring and CXF Spring namespace handlers. May be, in CXF 2.7.16, one still needs to add the imports as in

Re: jaxrs-xsd

2016-10-18 Thread Sergey Beryozkin
Hi Can you provider more information please: CXF version, Blueprint or Spring, container type, offline/online mode. I can only think of the schema validator trying to get the schemas online and not being able to do it for some reasons... Thanks, Sergey On 18/10/16 09:13, Shivani wrote:

Re: ParamCoverter, List, CSV query parameters

2016-10-17 Thread Sergey Beryozkin
yet, and I can't change parameter values in a post-match filter since it is impossible to change the URI (by specs). Furthermore, in a post-match filter the server resource is bound but not yet "filled" with values. Thanks, Diego diego.ruot...@gmail.com 2016-10-17 16:28 GMT+02:00 Sergey

Re: Using JAXRSBeanValidationOutInterceptor causes Fault when validation of an object fails

2016-10-17 Thread Sergey Beryozkin
.547215.n5.nabble.com/Using-JAXRSBeanValidationOutInterceptor-causes-Fault-when-validation-of-an-object-fails-tp5773878p5773958.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: ParamCoverter, List, CSV query parameters

2016-10-17 Thread Sergey Beryozkin
, Diego 2016-10-17 11:47 GMT+02:00 Sergey Beryozkin <sberyoz...@gmail.com>: Hi Thanks for this query, let me redirect to the CXF users list. FYI, CXF JAX-RS runtime prepares a List itself and only expects ParamConverters if any to convert individual values. I believe RI (Jersey) will al

Re: ParamCoverter, List, CSV query parameters

2016-10-17 Thread Sergey Beryozkin
ava.net/jira/browse/JERSEY-2763 Thanks in advice, best regards -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Using JAXRSBeanValidationOutInterceptor causes Fault when validation of an object fails

2016-10-14 Thread Sergey Beryozkin
Or try JAXRSBeanValidationInvoker (register it with jaxrs:invoker) Sergey On 14/10/16 22:17, Sergey Beryozkin wrote: Hi See https://issues.apache.org/jira/browse/CXF-7091 We are voting for a 3.1.8 release right now, so I can only guess at this stage that 3.1.9 will be out by the end of Dec

Re: Using JAXRSBeanValidationOutInterceptor causes Fault when validation of an object fails

2016-10-14 Thread Sergey Beryozkin
Hi See https://issues.apache.org/jira/browse/CXF-7091 We are voting for a 3.1.8 release right now, so I can only guess at this stage that 3.1.9 will be out by the end of Dec or early January. Please try CXF interceptors in meantime Cheers, Sergey On 14/10/16 21:59, tomstark wrote: Hi

Re: Using JAXRSBeanValidationOutInterceptor causes Fault when validation of an object fails

2016-10-14 Thread Sergey Beryozkin
Hi Yes, the response filters are expected to be run again after an exception has been mapped. The fact that the abstract CXF filter sees the original value on the 2nd run is a bug, in most case the default mapper which only creates an HTTP error is sufficient. So I guess this is why this

Re: How to get stream from CachedStream ?

2016-10-14 Thread Sergey Beryozkin
https://github.com/slavb18/cachedstreamtest/blob/master/src/main/webapp/WEB-INF/beans.xml with working one commented 2016-10-13 17:11 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>: Hi So far we have not seen any side-effects and this class is used a lot. I guess there is indeed som

Re: How to get stream from CachedStream ?

2016-10-13 Thread Sergey Beryozkin
peated in WriterInterceptorContext 2016-09-20 13:13 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>: Hi, JAX-RS ContainerRequestContext and ContainerResponseContext, as well as WriterInterceptorContext and ReaderInterceptorContext filter contexts all allow resetting the entity streams o

Re: [3.1.7] HTTPS / JAX-RS (non spring)

2016-10-10 Thread Sergey Beryozkin
Hi Ideally, when using JAXRSServerFactoryBean, you'd use a non-complete HTTP address (ex, "/oak") for CXF HTTP Transport to try to bind against OSGI HttpService. Cheers, Sergey On 08/10/16 11:48, nino martinez wael wrote: Im wanting to a mix of https / http and probably different realms.

Re: HttpServletRequest thread safety

2016-10-10 Thread Sergey Beryozkin
Hi Yes, this is a thread safe proxy. Cheers, Sergey On 08/10/16 02:45, Allan C. wrote: Hi all, I have a jaxrs with a DynamicFeature provider, registering a ContainerRequestFilter in it. Inside the ContainerRequestFilter class, I have a HttpServletRequest injected using the @Context

Re: How to implement resource-specific matrix parameters

2016-10-09 Thread Sergey Beryozkin
Hi You can either capture all 'a' with List or use JAX-RS PathSegment to capture path segment specific matrix parameters: https://jax-rs-spec.java.net/nonav/2.0-rev-a/apidocs/javax/ws/rs/core/PathSegment.html HTH, Sergey On 07/10/16 13:58, Christian Balzer wrote: Hi all, From what I know,

Re: JAX-RS: Mapping @MatrixParam("l") ";l=a,b,c" to List(3) using ParamConverterProvider doesn't work - how do I do it properly?

2016-10-06 Thread Sergey Beryozkin
'm pretty sure I saw REST URLs in the past that used ;range=10,90 for example - so I was sure cxf would support it somehow... :) Cheers, Christian On Thu, Oct 6, 2016 at 2:58 PM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Hi, why would you not have class MatrixParams { List list; } @M

Re: JAX-RS: Mapping @MatrixParam("l") ";l=a,b,c" to List(3) using ParamConverterProvider doesn't work - how do I do it properly?

2016-10-06 Thread Sergey Beryozkin
s, what I wanted to do won't work in cxf. :/ Regards, Christian On Thu, Oct 6, 2016 at 1:41 PM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Hi Looks like a linking issue, Sergey On 06/10/16 13:24, Christian Balzer wrote: Hi all, So, I played around a bit more, and I now have a

Re: What is the "Type genericType" parameter in the JAX-RS ParamConverterProvider's getConverter() method for?

2016-10-06 Thread Sergey Beryozkin
example, if I'm not mistaken. Useful to know for next time. :) Regards, Christian On Thu, Oct 6, 2016 at 1:32 PM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Hi Christian If you have something like MyType then the generic type will help the converter implementation to figure out that

Re: JAX-RS: Mapping @MatrixParam("l") ";l=a,b,c" to List(3) using ParamConverterProvider doesn't work - how do I do it properly?

2016-10-06 Thread Sergey Beryozkin
); mc.l = Arrays.asList(value.split("\\s*,\\s*")); return rawType.cast(mc); } Or should I create a custom argument annotation, say @CommaSeparated, and have ParamConverterProvider check for that (and rawType==String.class)? But if I do that, won't I get a List<List> back? Any help much appreciated! Kind regards, Christian -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: What is the "Type genericType" parameter in the JAX-RS ParamConverterProvider's getConverter() method for?

2016-10-06 Thread Sergey Beryozkin
quot;;l=abc"] is to be converted into a method parameter [myList], this will be the formal type [] of the method parameter [List] as returned by Class.getGenericParameterTypes. << Am I close? Kind regards, Christian -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: JAX-RS: Mapping @MatrixParam("l") ";l=a,b,c" to List(3) using ParamConverterProvider doesn't work - how do I do it properly?

2016-10-06 Thread Sergey Beryozkin
a List<List> back? Any help much appreciated! Kind regards, Christian -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF 3.1 + Tomcat 8 + JAR-RS + Atmosphere + WebSocket

2016-10-05 Thread Sergey Beryozkin
On Friday, 30 September 2016, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Hi Aki How would you explain though the fact it works in Tomcat 7 ? Though I guess it would indeed make a good sense to make our transport be aware of the JSR356. I was thinking should we have TomcatWebSocketDestinati

Re: How to use PATCH method in CXF

2016-10-05 Thread Sergey Beryozkin
mpl.invoke(ClientProxyImpl.java:231) [cxf-rt-rs-client-3.1.8-20160929.070108-32.jar:3.1.8.SNAPSHOT] at com.sun.proxy.$Proxy236.createBatch(Unknown Source) [na:na] 2016-10-05 13:23 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>: Hi No, setting this property is not really needed any longer. With

Re: How to use PATCH method in CXF

2016-10-05 Thread Sergey Beryozkin
Hi No, setting this property is not really needed any longer. With the latest CXFs it should just work with or without the async conduit being loaded, Dan did some HTTPURLConnection reflective work. Cheers, Sergey On 05/10/16 10:02, Vjacheslav V. Borisov wrote: Hi! There is "How to use

Re: CXF 3.1 + Tomcat 8 + JAR-RS + Atmosphere + WebSocket

2016-09-30 Thread Sergey Beryozkin
with Tomcat 8... Regards, Anthony -Original Message----- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: jeudi 29 septembre 2016 12:17 To: users@cxf.apache.org Subject: Re: CXF 3.1 + Tomcat 8 + JAR-RS + Atmosphere + WebSocket Hi Anthony Sorry it is my fault, I looked at the ma

Re: WadlGenerator - Bean validation support for complex types?

2016-09-30 Thread Sergey Beryozkin
. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF 3.1 + Tomcat 8 + JAR-RS + Atmosphere + WebSocket

2016-09-30 Thread Sergey Beryozkin
thony -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: jeudi 29 septembre 2016 12:17 To: users@cxf.apache.org Subject: Re: CXF 3.1 + Tomcat 8 + JAR-RS + Atmosphere + WebSocket Hi Anthony Sorry it is my fault, I looked at the master source, not realizing 3.

Re: CXF 3.1 + Tomcat 8 + JAR-RS + Atmosphere + WebSocket

2016-09-29 Thread Sergey Beryozkin
/index.html to connect to 8080/websocket/demo..., dropped it to Tomcat 7 - works OK, dropped to Tomcat 8 - fails... Thanks, Sergey On 29/09/16 11:16, Sergey Beryozkin wrote: Hi Anthony Sorry it is my fault, I looked at the master source, not realizing 3.1.7 uses a different Atmosphere version (2.3.7

Re: CXF 3.1 + Tomcat 8 + JAR-RS + Atmosphere + WebSocket

2016-09-29 Thread Sergey Beryozkin
(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) -Original Message- From: Sergey Beryozkin

Re: [DOSGI] How do i register an interceptor on an endpoint registered through Declarative Services?

2016-09-28 Thread Sergey Beryozkin
solution as too complicated. Christian On 27.09.2016 22:32, Sergey Beryozkin wrote: Good news, thanks for making it work. Christian - should we consider putting the ability to register interceptors without going the intents path back to DOSGI 2.x ? How what Martin did can be done in DOSGI 2.x

Re: CXF 3.1 + Tomcat 8 + JAR-RS + Atmosphere + WebSocket

2016-09-28 Thread Sergey Beryozkin
Hi Anthony It all looks OK, except that you select the older Atmosphere version, it has to be 2.4.3 - so start from removing that pom section where you get an older version from the non-Central maven location. The other thing - enabling async (suspended) continuations is not needed for

Re: How to enable/disable transfer-encoding: chunked in jax-rs?

2016-09-28 Thread Sergey Beryozkin
; HTTPConduit http = org.apache.cxf.jaxrs.client.WebClient.getConfig(target).getHttpConduit(); } } From: Sergey Beryozkin <sberyoz...@gmail.com> Sent: Tuesday, September 27, 2016 8:34:16 PM To: users@cxf.apache.org Subject: Re: How to enable/disable transfer-encoding: chunke

Re: How to enable/disable transfer-encoding: chunked in jax-rs?

2016-09-27 Thread Sergey Beryozkin
ks, Venkat ____ From: Sergey Beryozkin <sberyoz...@gmail.com> Sent: Tuesday, September 27, 2016 3:24 PM To: users@cxf.apache.org Subject: Re: How to enable/disable transfer-encoding: chunked in jax-rs? Hi You can pass WebTarget or InvocationBuilder (the

Re: [DOSGI] How do i register an interceptor on an endpoint registered through Declarative Services?

2016-09-27 Thread Sergey Beryozkin
with 2way SSL and Shiro authentication though the client certificate. I am a happy camper:) On Tue, Sep 27, 2016 at 5:05 PM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Hi There are two issues here. First - why DOSGI JAX-RS code is not reacting to the in interceptor class name, can y

Re: How to enable/disable transfer-encoding: chunked in jax-rs?

2016-09-27 Thread Sergey Beryozkin
, How to convert the Client object created using ClientBuilder.newClient() to WebClient or org.apache.cxf.jaxrs.client.Client? thanks, Venkat From: Sergey Beryozkin <sberyoz...@gmail.com> Sent: Monday, September 26, 2016 9:20 PM To: users@cxf.apac

Re: [DOSGI] How do i register an interceptor on an endpoint registered through Declarative Services?

2016-09-27 Thread Sergey Beryozkin
{ readerRefs.add(context.registerService(MessageBodyReader.class, provider, null)); writerRefs.add(context.registerService(MessageBodyWriter.class, provider, null)); } } Thank you in advance for your usual helpful demeanor:) -Martin -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: cxf 3.2.0 repo location

2016-09-27 Thread Sergey Beryozkin
Aggarwal -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: Tuesday, September 27, 2016 3:19 PM To: users@cxf.apache.org Subject: Re: cxf 3.2.0 repo location Sure - it was indeed further enhanced in 3.1.8-SNAPSHOT. Please double check in the next couple of weeks

Re: cxf 3.2.0 repo location

2016-09-27 Thread Sergey Beryozkin
- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: Tuesday, September 27, 2016 3:07 PM To: users@cxf.apache.org Subject: Re: cxf 3.2.0 repo location Hi Hopefully it will be out early enough in October, though we did think it may happen earlier. As I said in one of the other emails

Re: HttpConduit for WebTarget

2016-09-27 Thread Sergey Beryozkin
list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: cxf 3.2.0 repo location

2016-09-27 Thread Sergey Beryozkin
/16 17:37, Niten Aggarwal wrote: Hi Sergey, Is 3.1.8 expected to be release in September? Thanks, Niten Aggarwal -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: Thursday, August 25, 2016 9:15 AM To: users@cxf.apache.org Subject: Re: cxf 3.2.0 repo location

Re: How to enable/disable transfer-encoding: chunked in jax-rs?

2016-09-26 Thread Sergey Beryozkin
server and client without using spring xml configuration ? thanks, Venkat -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: error in client program

2016-09-25 Thread Sergey Beryozkin
I think this issue and the one reported in the next email are caused by some API mix in, ex, JAX-RS 1.1 & 2.0. Sergey On 25/09/16 01:47, Yaragalla Muralidhar wrote: I have written the following code for cxf client public static void main(String[] args) { Client client =

Re: Page with list of all services

2016-09-21 Thread Sergey Beryozkin
16 19:27, Maxim Solodovnik wrote: Hello Sergey, Any progress on this issue? On Sun, Aug 21, 2016 at 12:54 PM, Maxim Solodovnik <solomax...@gmail.com> wrote: Please let me know when it's time to test it :) On Sun, Aug 21, 2016 at 1:51 AM, Sergey Beryozkin <sberyoz...@gmail.com>

Re: Include signed XML into a single CDATA

2016-09-20 Thread Sergey Beryozkin
ext: http://cxf.547215.n5.nabble.com/Include-signed-XML-into-a-single-CDATA-tp5772863p5772898.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Include signed XML into a single CDATA

2016-09-20 Thread Sergey Beryozkin
glt; -- View this message in context: http://cxf.547215.n5.nabble.com/Include-signed-XML-into-a-single-CDATA-tp5772863p5772894.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Include signed XML into a single CDATA

2016-09-20 Thread Sergey Beryozkin
); }else { super.writeCharacters(text); } BR -- View this message in context: http://cxf.547215.n5.nabble.com/Include-signed-XML-into-a-single-CDATA-tp5772863p5772888.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend

Re: Include signed XML into a single CDATA

2016-09-20 Thread Sergey Beryozkin
Hi, it might be something to do with writeCData vs writeCharacters, not really sure. I guess the easiest way is, if you detect it should be CData, simply write CData decorations manually as part of writeCharacters Sergey

Re: How to get stream from CachedStream ?

2016-09-20 Thread Sergey Beryozkin
eam() temp file is created, but using csnew.getInputStream() I am getting empty stream. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Parsing errors in large XML documents

2016-09-19 Thread Sergey Beryozkin
fectly. Any idea on what might be happening? -- View this message in context: http://cxf.547215.n5.nabble.com/Parsing-errors-in-large-XML-documents-tp5772862.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Include signed XML into a single CDATA

2016-09-19 Thread Sergey Beryozkin
enough, and sorry if the post is hard to understand. If you can give me one clue to solve this problem it would be great! Thanks, -- View this message in context: http://cxf.547215.n5.nabble.com/Include-signed-XML-into-a-single-CDATA-tp5772863.html Sent from the cxf-user mailing list archive

Re: Mime type parameter matching - or lack

2016-09-19 Thread Sergey Beryozkin
This message is provided for information purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments in any jurisdiction. Securities are offered in the U.S. through PIMCO Investments LLC, distributor and a company of PIMCO LLC.

Re: SNI not sent when using CXF WebClient v3.1.7 in Java 8?

2016-09-15 Thread Sergey Beryozkin
But you can indeed set a custom SSLFactory wrapper easily on HttpConduit TLS properties, get HTTPConduit as shown below and see if that solution works... Sergey On 15/09/16 17:22, Sergey Beryozkin wrote: I've just given it a quick try myself - temporarily updated HttpsURLConnectionFactory

Re: SNI not sent when using CXF WebClient v3.1.7 in Java 8?

2016-09-15 Thread Sergey Beryozkin
I've just given it a quick try myself - temporarily updated HttpsURLConnectionFactory ignore the verifier but I still see no server_name extension in the debug - I've tried jax_rs/basic_http demo with Java 8. Sergey On 15/09/16 16:43, Sergey Beryozkin wrote: Hi On 15/09/16 11:59, Chris Lott

Re: SNI not sent when using CXF WebClient v3.1.7 in Java 8?

2016-09-15 Thread Sergey Beryozkin
()) and see if avoiding setting the verifier at all can fix it... If yes then we can decide on the final fix Cheers, Sergey HTH On Sep 15, 2016, at 5:43 AM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Hi According to http://stackoverflow.com/questions/35366763/in-java-8-can-httpsurlconn

Re: SNI not sent when using CXF WebClient v3.1.7 in Java 8?

2016-09-15 Thread Sergey Beryozkin
rgs[2], args[3]); System.out.println("HTTP response code is " + r2.code); System.out.println("Response body follows:"); System.out.println(r2.body); } } -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: JSON Vulnerability Protection in CXF REST

2016-09-14 Thread Sergey Beryozkin
s, I tried unsuccessfully to add ')]}' in an out interceptor but the content in that cxf message is still object, not yet marshalled into string - so I am wondering what could be the best place to do this prefixing. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: ArrayStoreException making cookies?

2016-09-14 Thread Sergey Beryozkin
into the bottle in the classpath, but does this ring any bells for anyone? -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Question - Who closes the InputStream?

2016-09-13 Thread Sergey Beryozkin
is there an easy to determine which ones are an InputStream? The following doesn't seem to work. Object obj = attachment.getObject(); if (obj instanceof InputStream) { ... } -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: Monday, September 12, 2016 3:49

Re: Question - Who closes the InputStream?

2016-09-12 Thread Sergey Beryozkin
the stream? -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: Monday, September 12, 2016 3:41 PM To: users Cc: Daniel Kulp Subject: Re: Question - Who closes the InputStream? Hi Thanks for this question, forwarding to the users. Are you referring to the client

Re: Question - Who closes the InputStream?

2016-09-12 Thread Sergey Beryozkin
Software *O* +1 913 227 1812** *M* +1 330 506 0610** adam.deca...@lexmark.com <mailto:adam.deca...@lexmark.com> http://www.lexmark.com/common/images/email/lexmark-logo-email-signature.png <http://www.lexmark.com/> www.lexmark.com <http://www.lexmark.com> -- Sergey

Re: Get request metadata into controller method parameters?

2016-09-12 Thread Sergey Beryozkin
of the request. I would imagine I could do this with a servlet filter, but I want to directly associate it with the request and response. Is it possible to inject data like this directly into the controller method? Never mind. @Context and MessageContext does the trick. -- Sergey Beryozkin Talend

Re: WadlGenerator - Bean validation support for complex types?

2016-09-12 Thread Sergey Beryozkin
is significantly simpler. But please experiment, SourceGenerator does not enforce that parameters should not refer to the grammar... Cheers, Sergey On 11/09/16 21:44, Sergey Beryozkin wrote: Swagger JAX-RS is capable of generating Swagger JSON based on JAX-RS annotations alone. Having partial schema

Re: WadlGenerator - Bean validation support for complex types?

2016-09-11 Thread Sergey Beryozkin
. What do you think? Best regards, Johannes Am 08.09.2016 um 11:42 schrieb Sergey Beryozkin: Hi Johannes I suppose an idea which you have tried to do with enriching wadl:doc is useful - lets keep it in mind. So these ideas are proposed: 1. in WADL-first one simply has the query/header/path

Re: in CXF, Preflight method is not getting called even though I followed every step required

2016-09-09 Thread Sergey Beryozkin
act System Administrator"); } console.log(JSON.parse(XMLHttpRequest.responseText)); }, timeout: 3 }); return token; } -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF3 BeanValidation - wadl2java @Valid

2016-09-08 Thread Sergey Beryozkin
annotated with @Valid with beanValidation active. Query parameters never get @Valid. Best regards, Johannes Am 08.09.2016 um 12:51 schrieb Vjacheslav V. Borisov: 2016-09-08 12:43 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>: As I know, only xsd:enumeration types are projected to

Re: WadlGenerator - Bean validation support for complex types?

2016-09-08 Thread Sergey Beryozkin
um 11:11 schrieb Sergey Beryozkin: Hi Johannes I'm sorry but I'm not seeing how this can be applied - you generate some schema types inside wadl:doc - it will never have a chance of any interoperability (non CXF wadl-to-java processing it) and looks like a 'perfect' hack :-) - I do appreciate your

Re: WadlGenerator - Bean validation support for complex types?

2016-09-08 Thread Sergey Beryozkin
On 08/09/16 10:11, Sergey Beryozkin wrote: Hi Johannes I'm sorry but I'm not seeing how this can be applied - you generate some schema types inside wadl:doc - it will never have a chance of any interoperability (non CXF wadl-to-java processing it) and looks like a 'perfect' hack :-) - I do

Re: WadlGenerator - Bean validation support for complex types?

2016-09-08 Thread Sergey Beryozkin
schemas, but this is actually not the case if schema include is used instead of xs:import!). Of course I can also add a switch to turn this off if someone really doesn't like it, but I think this will be rarely the case. Best regards, Johannes Am 18.08.2016 um 13:19 schrieb Sergey Beryozkin

Re: CXF3 BeanValidation - wadl2java @Valid

2016-09-08 Thread Sergey Beryozkin
ing @Valid annotations if "-beanValidation" option is set. Am I missing something ? Sergey -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF3 BeanValidation - wadl2java @Valid

2016-09-07 Thread Sergey Beryozkin
On 07/09/16 07:00, Vjacheslav V. Borisov wrote: 2016-08-29 14:00 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>: In the vast majority of cases query/header/cookie parameters are simple properties. Doing the complex mapping from WADL grammar to individual Bean validation propertie

Re: cxf 3.2.0 repo location

2016-09-06 Thread Sergey Beryozkin
: Thursday, August 25, 2016 2:13 PM To: users@cxf.apache.org Subject: RE: cxf 3.2.0 repo location Thanks let me test again. Thanks, Niten Aggarwal -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: Thursday, August 25, 2016 1:51 PM To: users@cxf.apache.org Subject

Re: CXF3 BeanValidation - wadl2java @Valid

2016-09-05 Thread Sergey Beryozkin
istyped) a query property Sergey What do you think? Best regards, Johannes Am 29.08.2016 um 22:31 schrieb Sergey Beryozkin: I've added a 'beanValidation' option: https://issues.apache.org/jira/browse/CXF-7032 I'll resolve it once I complete the test Sergey On 29/08/16 11:00, Sergey Beryozkin

Re: CXF3 BeanValidation - wadl2java @Valid

2016-09-04 Thread Sergey Beryozkin
istyped) a query property Sergey What do you think? Best regards, Johannes Am 29.08.2016 um 22:31 schrieb Sergey Beryozkin: I've added a 'beanValidation' option: https://issues.apache.org/jira/browse/CXF-7032 I'll resolve it once I complete the test Sergey On 29/08/16 11:00, Sergey Beryoz

Re: Swagger CXF CodeGen

2016-09-04 Thread Sergey Beryozkin
to Craig? I think it would be nice to have a contract first/code first example with wadl2java and with swagger (using the swagger-codegen), so people can try both ways. Best regards, Johannes Am 01.09.2016 um 23:03 schrieb Sergey Beryozkin: Hi Johannes I believe you are well aware

Re: RxJava Observable with CXF

2016-09-02 Thread Sergey Beryozkin
FYI, I moved the RxJava code into cxf-rt-rs-extension-rx as it is expected to grow Sergey On 01/09/16 21:48, Sergey Beryozkin wrote: Hi I believe it has to be "/cxfdemo" as opposed to "/cxfdemo/*", autoconfigurer set a correct servlet pattern itself, though may be

Re: Swagger CXF CodeGen

2016-09-01 Thread Sergey Beryozkin
Hi Johannes I believe you are well aware of the current status of Swagger Codegen supporting CXF - can you please reply to this thread: http://camel.465427.n5.nabble.com/CXFRS-swagger-integration-td5787041.html if you can get a chance. Or may be reply here and I will post a link to it in

Re: RxJava Observable with CXF

2016-09-01 Thread Sergey Beryozkin
rc/main/release/samples/jax_rs/spring_boot_scan/application> and tried both manual and auto configurations but no luck so far <https://github.com/mekuriam/cxfdemo>. Any thoughts? Thanks! On Wed, Aug 31, 2016 at 11:58 AM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: I've loo

Re: RxJava Observable with CXF

2016-08-31 Thread Sergey Beryozkin
be looking forward to this. Muse On Tue, Aug 30, 2016 at 1:04 PM, Sergey Beryozkin <sberyoz...@gmail.com <mailto:sberyoz...@gmail.com>> wrote: This should address this issue: http://git-wip-us.apache.org/repos/asf/cxf/commit/502db47a <http://git-wip-us.apache.org/repos

Re: RxJava Observable with CXF

2016-08-30 Thread Sergey Beryozkin
This should address this issue: http://git-wip-us.apache.org/repos/asf/cxf/commit/502db47a More work will be done on the client side too later on, with CompletableFuture to be supported OOB. Sergey On 30/08/16 09:47, Sergey Beryozkin wrote: Hi Muse Thanks for starting experimenting

Re: JAX-RS returns header Date twice

2016-08-30 Thread Sergey Beryozkin
of improve on security wise. Regards, Allan C. On Mon, Jul 18, 2016 at 6:14 PM, Allan C. <allan...@gmail.com> wrote: Noted. Will get you posted. Regards, Allan C. On Mon, Jul 18, 2016 at 5:21 PM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Hi It is confusing indeed. Perha

Re: RxJava Observable with CXF

2016-08-30 Thread Sergey Beryozkin
Hi Muse Thanks for starting experimenting with it. It is fair to say that this feature requires more work - it is being planned. I'll add a missing @Provider annotation and that alone will let this provider be auto discovered too with CXF 3.1.8 (with a cxf.jaxrs.classes-scan -

Re: CXF3 BeanValidation - wadl2java @Valid

2016-08-29 Thread Sergey Beryozkin
I've added a 'beanValidation' option: https://issues.apache.org/jira/browse/CXF-7032 I'll resolve it once I complete the test Sergey On 29/08/16 11:00, Sergey Beryozkin wrote: On 29/08/16 10:46, Vjacheslav V. Borisov wrote: 2016-08-27 18:58 GMT+04:00 J. Fiala <mod...@fwd.at>: Serge

Re: CXF Temp Files are not getting Cleared

2016-08-29 Thread Sergey Beryozkin
.547215.n5.nabble.com/CXF-Temp-Files-are-not-getting-Cleared-tp5772053.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF3 BeanValidation - wadl2java @Valid

2016-08-29 Thread Sergey Beryozkin
On 29/08/16 10:46, Vjacheslav V. Borisov wrote: 2016-08-27 18:58 GMT+04:00 J. Fiala : Sergey, OK, so there is no option to get query parameter validation for wadl2java generated java sources in the near future? So if query parameter validation is desired, one has to switch to

Re: CXF 2.2.12 Memory Issue (XMLSchema)

2016-08-29 Thread Sergey Beryozkin
-Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: Friday, August 26, 2016 8:01 PM To: users@cxf.apache.org Subject: Re: CXF 2.2.12 Memory Issue (XMLSchema) Hi CXF 3.0.10 (Java 6+) and CXF 3.1.7 (Java7+) are the latest CXF releases - try either of them. Cheers

Re: CXF in OSGI enRoute

2016-08-26 Thread Sergey Beryozkin
ent servlet alias… or one bus for multiple bundles, all sharing a common servlet alias Randy Leonard ra...@leonard.info randy.leonard@gmail.com -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF 2.2.12 Memory Issue (XMLSchema)

2016-08-26 Thread Sergey Beryozkin
if I need to provide more information. Kind regards, Brad -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Json - schema validation - JacksonProvider+JAXBElementProvider / JSONProvider

2016-08-26 Thread Sergey Beryozkin
uot;jsonNamespaceMap"| |map-class||=||"java.util.Hash table"||>| |<||entry| |key||=||"http://www.example.org/books;| |value||=||"ns2"||/>| | But still no luck, the error stays the same, regardless if the Json includes the prefix or not. | Any ideas on this? best regards, Johannes -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Json - schema validation - JacksonProvider+JAXBElementProvider / JSONProvider

2016-08-26 Thread Sergey Beryozkin
mple.org/books;| |value||=||"ns2"||/>| | But still no luck, the error stays the same, regardless if the Json includes the prefix or not. | Any ideas on this? Does the schema has an *element* named myRequestType ? Sergey best regards, Johannes -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

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