Re: JAXRS Attachment InputStream empty for > 300 KB Files

2016-04-28 Thread Sergey Beryozkin
Added jaxrs:properties in bean definition for size, memory, and directory, appears to be resolved... On Thu, Apr 28, 2016 at 11:53 AM, Sergey Beryozkin wrote: Hi Chris I don't have time to investigate this issue. You are seeing in your code that InputStream is empty but that is obv

Re: JAXRS Attachment InputStream empty for > 300 KB Files

2016-04-28 Thread Sergey Beryozkin
s, really appreciate your help! On Wed, Apr 27, 2016 at 12:54 PM, Sergey Beryozkin mailto:sberyoz...@gmail.com>> wrote: Or even with curl Sergey On 27/04/16 17:50, Sergey Beryozkin wrote: Hi I tried to reproduce the issue locally and could not, I updated the

Re: JAXRS Attachment InputStream empty for > 300 KB Files

2016-04-27 Thread Sergey Beryozkin
Or even with curl Sergey On 27/04/16 17:50, Sergey Beryozkin wrote: Hi I tried to reproduce the issue locally and could not, I updated the local test to echo a 400K array and it worked fine. Not sure what is going on in your case, can it be that a client is disconnecting too early ? Can you

Re: JAXRS Attachment InputStream empty for > 300 KB Files

2016-04-27 Thread Sergey Beryozkin
eters, ideally I won't have to parse each method individually. Thanks for everything!! Chris On Wed, Apr 27, 2016 at 6:44 AM, Sergey Beryozkin wrote: Hi Can you please remove @Multipart which is bound right now to InputStream (as I did suggest) and retry ? Cheers, Sergey On 27/04/16 11:35,

Re: JAXRS Attachment InputStream empty for > 300 KB Files

2016-04-27 Thread Sergey Beryozkin
O] [http-nio-8080-exec-2] [example.com.web.rs.impl.FileServiceImpl] - *** 2016-04-27 05:29:11,310 [INFO] [http-nio-8080-exec-2] [example.com.web.rs.impl.FileServiceImpl] - *** Thanks for you help! Chris On Tue, Apr 26, 2016 at 4:24

Re: JAXRS Attachment InputStream empty for > 300 KB Files

2016-04-26 Thread Sergey Beryozkin
Hi Can you please experiment with accepting it directly as InputStream: @Consumes(MediaType.MULTIPART_FORM_DATA) > @Produces(MediaType.APPLICATION_JSON) > public Response saveFile( >@PathParam(“name") String name, >InputStream body, >@HeaderParam("CUSTOM-uid") String user

Re: Dealing with Jettison array serialization issues

2016-04-26 Thread Sergey Beryozkin
gling I found, that such problem has no solution in jettison. 2016-04-25 13:31 GMT+04:00 Sergey Beryozkin : The actual serialization work is done by Jettison, CXF JSONProvider only wraps it and acts as a bridge between JAXB and Jettison. Jettison implements XMLStreamWriter and attempts to convert XML

Re: How to use javax.ws.rs.core.Feature with SpringComponentScanServer

2016-04-26 Thread Sergey Beryozkin
); return true; }} RestExceptionFeature.configure() is never called. I created a stackoverflow question if anyone wants to answer there: http://stackoverflow.com/questions/36832092/how-to-use-javax-ws-rs-core-feature-with-cxf -- Sergey Beryozkin Talend Community Coders http

Re: Dealing with Jettison array serialization issues

2016-04-25 Thread Sergey Beryozkin
16:26 GMT+04:00 Sergey Beryozkin : Hi Jettison is XMLStreamWriter, no type information is available. If it does accumulate more than one value for a given property it can guess it must be a list, otherwise it does not know if it is a simple or complex property. Sergey On 04/04/16 12:56, Vj

Re: WADL with references - java code generation

2016-04-25 Thread Sergey Beryozkin
is question. refers to a resource fragment where a GET method is defined Cheers, Sergey -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: [OT] How to update the existing jar with Maven and then depend on it

2016-04-22 Thread Sergey Beryozkin
On 19/04/16 06:14, Vjacheslav V. Borisov wrote: 2016-04-18 20:53 GMT+04:00 Sergey Beryozkin : Now, as far as my own practical requirement is concerned, this model needs to be JPA persisted with OpenJPA. So I've spent a lot of time by experimenting with the load time weaving with Sprin

Re: [CXF] 2.7.16 Output customisation

2016-04-21 Thread Sergey Beryozkin
All the examples shown here: http://cxf.apache.org/docs/transformationfeature.html are expected to work with JSONProvider (the properties would need to be set directly on JSONProvider) Sergey On 21/04/16 09:47, Sergey Beryozkin wrote: Hi Anthony CC-ing to the users as it can be of interest

Re: [CXF] 2.7.16 Output customisation

2016-04-21 Thread Sergey Beryozkin
Hi Anthony CC-ing to the users as it can be of interest. As far as CXF is concerned, it can be achieved with JSONProvider, using an 'outTransformElements' or 'outAppendElements. If you use Jackson then I',m not sure if it is possible. Finally, perhaps you can consider building JSON manually,

Re: Swagger versus paths versus service registration

2016-04-20 Thread Sergey Beryozkin
other problems. Has anyone else had to work with this shape/pattern in Swagger 2? -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

[OT] How to update the existing jar with Maven and then depend on it

2016-04-18 Thread Sergey Beryozkin
Hi I thought I'd ask at the users list first, sorry for the noise. I have the following task: make sure that a CXF OAuth2 model (cxf-rt-rs-security-oauth2 module) can be persisted with JPA. Right now the tests are running and use Hibernate, but also can be switched to use OpenJPA. The problem

Re: CXF JAXRS Client : HttpAsyncClient and KeepAlive

2016-04-18 Thread Sergey Beryozkin
Regards, Andrei. -Original Message----- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: Freitag, 15. April 2016 11:28 To: users@cxf.apache.org Subject: Re: CXF JAXRS Client : HttpAsyncClient and KeepAlive Hi Looks like I got confused. it is all about Keep Alive while I somehow got

Re: hotupdate?

2016-04-15 Thread Sergey Beryozkin
o far so good (?). Now the question is: in Axis2 I could set true in axis2.xml, and upon replacing an aar in the WEB-INF/services folder, it would be undeployed and deployed again automatically. Is something like that possible with CXF - in particular CXF without Spring? Thanks! M. -- S

Re: CXF JAXRS Client : HttpAsyncClient and KeepAlive

2016-04-15 Thread Sergey Beryozkin
on should be re-established, after 1 ms. Please suggest. Regards, Viral Gohel -- View this message in context: http://cxf.547215.n5.nabble.com/CXF-JAXRS-Client-HttpAsyncClient-and-KeepAlive-tp5747402p5767875.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF JAXRS Client : HttpAsyncClient and KeepAlive

2016-04-14 Thread Sergey Beryozkin
this message in context: http://cxf.547215.n5.nabble.com/CXF-JAXRS-Client-HttpAsyncClient-and-KeepAlive-tp5747402p5767870.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Select HttpContext for default cxf servlet in OSGI

2016-04-14 Thread Sergey Beryozkin
if web.xml is used Cheers, Sergey -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF JAXRS Client : HttpAsyncClient and KeepAlive

2016-04-14 Thread Sergey Beryozkin
rtEquals("Patch", book.getName()); wc.close(); } and after putting a breakpoint in BookStore patchBook method I see it staying on the breakpoint without timing out... Cheers, Sergey On 12/04/16 14:01, Sergey Beryozkin wrote: Hi I've only opened an issue to make sure thi

Re: CXF JAXRS Client : HttpAsyncClient and KeepAlive

2016-04-12 Thread Sergey Beryozkin
ntext: http://cxf.547215.n5.nabble.com/CXF-JAXRS-Client-HttpAsyncClient-and-KeepAlive-tp5747402p5767808.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: [ 2.7.15] Matrix parameter followed by query parameter are merged?

2016-04-07 Thread Sergey Beryozkin
Just double checked that using WebClient directly (in that test I pointed out to) works as well. So IMHO the problem is somewhere at the lower level. Sergey On 07/04/16 12:24, Sergey Beryozkin wrote: Hi One thing I'd like to point out - CXF checks the matrix parameters on the reques

Re: [ 2.7.15] Matrix parameter followed by query parameter are merged?

2016-04-07 Thread Sergey Beryozkin
04/16 17:20, Sergey Beryozkin wrote: Hi Christian I simply updated this test: https://github.com/apache/cxf/blob/master/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/JAXRSClientServerBookTest.java#L1954 I tried "http://localhost:"; + PORT + "/bookstore/segment/matr

Re: [ 2.7.15] Matrix parameter followed by query parameter are merged?

2016-04-06 Thread Sergey Beryozkin
-> "/dates/test;one=1?two=2".) Could you maybe share your test project with us, so we can compare what you are doing, please? :-) Kind regards, Christian On Tue, Apr 5, 2016 at 1:37 PM, Sergey Beryozkin wrote: Hi I've experimented with a local test, I can not reproduce it. Can y

Re: [ 2.7.15] Matrix parameter followed by query parameter are merged?

2016-04-05 Thread Sergey Beryozkin
ring id, @QueryParam("loc") String loc, MySchema mySchema, @HeaderParam("bar") String header, @Context UriInfo uriInfo) throws Exception { This results in loc being set to "abc" and id to "123?loc=abc"... :-( Any help is much appreciated! Kind regards, Christian -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Dealing with Jettison array serialization issues

2016-04-04 Thread Sergey Beryozkin
Hi Jettison is XMLStreamWriter, no type information is available. If it does accumulate more than one value for a given property it can guess it must be a list, otherwise it does not know if it is a simple or complex property. Sergey On 04/04/16 12:56, Vjacheslav V. Borisov wrote: Hi! Look

Re: Signing and encrypting JSON payload for REST requests over a browser

2016-04-01 Thread Sergey Beryozkin
these days because SOP is too constraining for the kind of applications I'm working with. The following is a browser application which signs and encrypts data using platform-level keys. Messages are expressed in JSON using SOAP-like (but without any envelope) requests and responses: ht

Re: URL that contains "service" returns CXF Service List in Karaf

2016-03-29 Thread Sergey Beryozkin
er mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: streaming in a large post body

2016-03-28 Thread Sergey Beryozkin
ve in memory all at once (with REST), what's recommended? -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: URL that contains "service" returns CXF Service List in Karaf

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

Re: oauth2 server side cxf configuration

2016-03-23 Thread Sergey Beryozkin
Can you clarify please what you'd like to do, as far as enabling OAuth2 is concerned ? Cheers, Sergey -- View this message in context: http://cxf.547215.n5.nabble.com/oauth2-server-side-cxf-configuration-tp5767107p5767152.html Sent from the cxf-user mailing list archive at Nabble.com.

Re: CXF JAXRS Client : HttpAsyncClient and KeepAlive

2016-03-23 Thread Sergey Beryozkin
Well, I suppose you set as per the documentation. I'm not sure why it has no effect with HttpAsyncClient, I'll experiment a bit later Sergey -- View this message in context: http://cxf.547215.n5.nabble.com/CXF-JAXRS-Client-HttpAsyncClient-and-KeepAlive-tp5747402p5767151.html Sent from the cxf-

Re: catalogLocation in JAXB/JSON Provider and @SchemaValidation

2016-03-23 Thread Sergey Beryozkin
On 23/03/16 15:04, Vjacheslav V. Borisov wrote: 2016-03-23 15:48 GMT+04:00 Sergey Beryozkin : Thanks for the analysis and the patch, I'm traveling so will look into it in detail next week (though might apply the patch earlier), does your patch addresses all of your concerns you raised in

Re: CXF JAXRS Client : HttpAsyncClient and KeepAlive

2016-03-23 Thread Sergey Beryozkin
: http://cxf.547215.n5.nabble.com/CXF-JAXRS-Client-HttpAsyncClient-and-KeepAlive-tp5747402p5767130.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: catalogLocation in JAXB/JSON Provider and @SchemaValidation

2016-03-23 Thread Sergey Beryozkin
tch https://issues.apache.org/jira/browse/CXF-6840 -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Signing and encrypting JSON payload for REST requests over a browser

2016-03-19 Thread Sergey Beryozkin
ding to my queries. Thanks, Giriraj Thanks, Giriraj On Mar 17, 2016 6:10 PM, "Sergey Beryozkin" wrote: Or a browser may ask a trusted server to help with it, and get this server returning a String representing a JOSE payload, then script then forward it somewhere else... Sergey On 17

Re: Signing and encrypting JSON payload for REST requests over a browser

2016-03-19 Thread Sergey Beryozkin
wrong way? Thanks, Giriraj. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Apache CXF 3.0.7 Webclient is taking too long to process the response

2016-03-19 Thread Sergey Beryozkin
nt to create the HTTP client webclient.get()to get the response. The response is returned in more than 10 mins whereas in the browser it takes seconds. Thanks, Aparna -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Signing and encrypting JSON payload for REST requests over a browser

2016-03-19 Thread Sergey Beryozkin
Or a browser may ask a trusted server to help with it, and get this server returning a String representing a JOSE payload, then script then forward it somewhere else... Sergey On 17/03/16 21:35, Sergey Beryozkin wrote: Hi You may be talking about WebCrypto. If you have a CXF client sending

Re: How to generate episode file using wadl2java ?

2016-03-19 Thread Sergey Beryozkin
give you some ideas on what may need to be fixed. I've no doubt you'll have some ideas if you try to debug/etc, I can then help with doing some fixes Sergey On 17/03/16 11:31, Vjacheslav V. Borisov wrote: 2016-01-21 14:29 GMT+04:00 Sergey Beryozkin : Hi Sure, have a

Re: How to manage resource owner login in CXF

2016-03-12 Thread Sergey Beryozkin
anage-resource-owner-login-in-CXF-tp5766808p5766837.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: WebClient getting connection already closed

2016-03-12 Thread Sergey Beryozkin
ava:69) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1332) ... 59 more -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: How to manage resource owner login in CXF

2016-03-12 Thread Sergey Beryozkin
uld be performed transparently by CXF JAASAuthenticationFilter, right? Thank you very much. matteo - matteo -- View this message in context: http://cxf.547215.n5.nabble.com/How-to-manage-resource-owner-login-in-CXF-tp5766808p5766839.html Sent from the cxf-user mailing list archive at Nabble.co

Re: How to manage resource owner login in CXF

2016-03-11 Thread Sergey Beryozkin
matteo - matteo -- View this message in context: http://cxf.547215.n5.nabble.com/How-to-manage-resource-owner-login-in-CXF-tp5766808.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Percent encoded string in @QueryParam

2016-03-10 Thread Sergey Beryozkin
tment of '+' in Path and Query You can also experiment with RestEasy. That will help see how different implementations deal with it on the client side. Sergey On 08/03/16 17:58, Sergey Beryozkin wrote: I started another thread on why '+' is encoded because this thread has

Re: Why proxies encode '+' query parameters

2016-03-08 Thread Sergey Beryozkin
On 08/03/16 17:16, Sergey Beryozkin wrote: On 08/03/16 16:56, Sergey Beryozkin wrote: "+" value also allowed in query representation, but is encoded for some reason by UriBuilder. Well, this is not CXF specific. So there would be problems with stored in db values if they contain

Re: Why proxies encode '+' query parameters

2016-03-08 Thread Sergey Beryozkin
On 08/03/16 16:56, Sergey Beryozkin wrote: "+" value also allowed in query representation, but is encoded for some reason by UriBuilder. Well, this is not CXF specific. So there would be problems with stored in db values if they contains "+" I'

Encoding of form parameters in proxies

2016-03-08 Thread Sergey Beryozkin
cs/javax/ws/rs/core/Form.html That is it. The way the payloads are processed is up to the implementations - in our case you can register an instance of FormEncodingProvider with the proxy and set its 'expectEncoded' property to true - in this case it will not double encode. Sergey

Re: Percent encoded string in @QueryParam

2016-03-08 Thread Sergey Beryozkin
I started another thread on why '+' is encoded because this thread has been all about encoding a '%' symbol. On 08/03/16 16:50, Sergey Beryozkin wrote: I'm not going to repeat most of what I've already said few times in this thread but only state again tha

Why proxies encode '+' query parameters

2016-03-08 Thread Sergey Beryozkin
"+" value also allowed in query representation, but is encoded for some reason by UriBuilder. So there would be problems with stored in db values if they contains "+" I'm not using jerecy, only org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean to create proxies. I found https://issues.apache.o

Re: Percent encoded string in @QueryParam

2016-03-08 Thread Sergey Beryozkin
ectly. If you are saying that when you pass something like "%D1%82", or to make it clearer, "%D1" and expect CXF do "%25D1", then no, it won't work. UriBuilder does not touch percent-encoded sequences %XX. May be try building the query with UriBuilder befor

Re: Is there anything asynchronous about starting a server?

2016-03-06 Thread Sergey Beryozkin
Interesting, I guess more analysis may be needed. Perhaps Jetty does take few seconds to get 'really' ready after sf.create() returns, may be it is Jetty version specific ? Sergey On 06/03/16 12:51, Benson Margulies wrote: On Sun, Mar 6, 2016 at 7:08 AM, Sergey Beryozkin wrote:

Re: How CXF helps to redirect to non-matching http request to a static HTML page

2016-03-06 Thread Sergey Beryozkin
1:00 Sumit Arora : As CXF provides configuration to set default page from : static-welcome-file /main.html This is working fine. My question : *How to redirect to non-matching http request to a static HTML page ?* 'Sumit -- Sergey Beryozkin Talend C

Re: Is there anything asynchronous about starting a server?

2016-03-06 Thread Sergey Beryozkin
May be the service has not been started (exception is lost, not sure) or address is wrong ? Sergey On 05/03/16 00:20, Benson Margulies wrote: The code below runs in Karaf. Is there any chance of a caller getting: No service was found. after this has executed? bus = BusFactory.newInstan

Re: Percent encoded string in @QueryParam

2016-03-04 Thread Sergey Beryozkin
you pass something like "%D1%82", or to make it clearer, "%D1" and expect CXF do "%25D1", then no, it won't work. UriBuilder does not touch percent-encoded sequences %XX. May be try building the query with UriBuilder before passing it to the proxy, something

Re: Percent encoded string in @QueryParam

2016-03-04 Thread Sergey Beryozkin
20";, newUri.toString()); } Note a 'q' query parameter has 2 values, one of them is "q2+q3%20" so here we have a valid %-encoded representation. The test asserts it is encoded as: "q2%2Bq3%20" i.e it stays untouched. I nearly 100% su

Re: Percent encoded string in @QueryParam

2016-03-04 Thread Sergey Beryozkin
e to Apache. So I'd be surprised if I had to fix UriBuilder further given that a lot of TCK tests are targeted at UriBuilder. If Jersey does encode it then I'll review it and see what may need to be done Sergey On 04/03/16 10:56, Sergey Beryozkin wrote: As I said, CXF proxy runtim

Re: Percent encoded string in @QueryParam

2016-03-04 Thread Sergey Beryozkin
no, it won't work. UriBuilder does not touch percent-encoded sequences %XX. May be try building the query with UriBuilder before passing it to the proxy, something like UriBuilder.fromUri("{a}%D21").build("%").toString() Though not sure it will be cheaper. Sergey On 03/03/1

Re: Percent encoded string in @QueryParam

2016-03-04 Thread Sergey Beryozkin
proxy, something like UriBuilder.fromUri("{a}%D21").build("%").toString() Though not sure it will be cheaper. Sergey On 03/03/16 21:27, Sergey Beryozkin wrote: From the original post in this thread: When I pass string "т" (Cyrillic symbol) to generated clie

Re: Percent encoded string in @QueryParam

2016-03-03 Thread Sergey Beryozkin
ng it to the proxy, something like UriBuilder.fromUri("{a}%D21").build("%").toString() Though not sure it will be cheaper. Sergey On 03/03/16 21:27, Sergey Beryozkin wrote: From the original post in this thread: When I pass string "т" (Cyrillic symbol) to genera

Re: Percent encoded string in @QueryParam

2016-03-03 Thread Sergey Beryozkin
es also to "%D1%82" and decodes also to "т". I honestly don't get what the problem is. You pass a Cyrillic symbol either as is or already percent encoded and in both case, as you say above, you get this Cyrillic symbol. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Percent encoded string in @QueryParam

2016-03-03 Thread Sergey Beryozkin
transfer %D1%82 trough @QueryParam? There is annotation javax.ws.rs.Encoded which as said in javadoc prevent @QueryParams from encoding, but with in that case I have to encode it manually in all places where generated method is used. -- Сергей Волков serg-v@ \ -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Percent encoded string in @QueryParam

2016-03-03 Thread Sergey Beryozkin
encode characters that looks like percent encoded. Is it bug? Is there any way to transfer %D1%82 trough @QueryParam? There is annotation javax.ws.rs.Encoded which as said in javadoc prevent @QueryParams from encoding, but with in that case I have to encode it manually in all places where generated method is used. -- Сергей Волков serg-v@ -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Percent encoded string in @QueryParam

2016-03-03 Thread Sergey Beryozkin
if you use Http centric API then indeed you can have @Encode on service interfaces but pass %D1%82 directly to 2.0 Client API or WebClient. If you have a proxy: it actually does not do @Encode processing either - the reason is that it is irrelevant for the proxy, it uses UriBuilder.buildFromE

Re: Asking for comments about cxf-rs with oneway jms transport

2016-03-01 Thread Sergey Beryozkin
n): https://issues.apache.org/jira/browse/CXF-6810. Note that in a comment, Sergey Beryozkin writes "So now we have WebClient and proxies being able to use HTTP Api to send the messages over JMS which is unusual ;-)" Because I'm new to cxf, I would like to ask the community wheth

Re: Registering a message body reader

2016-02-26 Thread Sergey Beryozkin
ours when confronted with it? (It's really just json in disguise.) -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: JAX-RS CookieHeaderProvider with httpOnly cookie doesn't work

2016-02-24 Thread Sergey Beryozkin
in context: http://cxf.547215.n5.nabble.com/JAX-RS-CookieHeaderProvider-with-httpOnly-cookie-doesn-t-work-tp5766083p5766290.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: No support for FailoverFeature in CXF Rest Client implementation (version 3.1.0)

2016-02-24 Thread Sergey Beryozkin
Hi Please create a CXF JIRA issue, not sure how to qualify it, 'Task' I guess. As I said though it is unlikely to be addressed in the short term unless one of colleagues or yourself will look at it. Cheers, Sergey On 24/02/16 16:36, ranadeep.sha...@gmail.com wrote: Hi Sergey, Thanks for th

Re: Proxy-based API genaration (two or more interaces)

2016-02-24 Thread Sergey Beryozkin
OneResourceInterface, TwoResourceInterface Yes, this is how it can be done, please make sure cglib-nodep dependency is on the classpath Cheers, Sergey -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: No support for FailoverFeature in CXF Rest Client implementation (version 3.1.0)

2016-02-24 Thread Sergey Beryozkin
eventually. 2) Is the CXF implementation of Failover Retry (for both SOAP client and REST client) thread-safe? I haven't seen any thread-safety related issues reported so far Cheers, Sergey Regards, Ranadeep. Regards, Ranadeep. On Wed, Feb 10, 2016 at 5:42 PM, Sergey Beryozkin [via CXF]

Re: NullPointerException in OAuthRequestFilter

2016-02-24 Thread Sergey Beryozkin
nualy Guava and HK2 in maven, why CXF doesn't declare these two dependencies althought it need them? Thank you again and again, very nice from you for the support :) 2016-02-23 19:13 GMT+01:00 Sergey Beryozkin : Hi, in most cases you'd like to configure it somehow, so may be try t

Re: JAX-RS CookieHeaderProvider with httpOnly cookie doesn't work

2016-02-23 Thread Sergey Beryozkin
Hi I'm sorry I still do not understand. Cookie header (as opposed to Set-Cookie) is not supposed to include HttpOnly, this is why I'm curious, how does this Cookie header ends up with HttpOnly ? Thanks, Sergey On 23/02/16 20:46, cc75005++ wrote: Hi Sergey, Thank you for your response. In f

Re: NullPointerException in OAuthRequestFilter

2016-02-23 Thread Sergey Beryozkin
ittle question, i see that the doc uses Spring, can we use CXF and OAuth implementation totaly without Spring?? :) Thanks 2016-02-23 10:33 GMT+01:00 Sergey Beryozkin : Hi, well, Jersey is of course a quality JAX-RS RI, but indeed, given its close integration with Glassfish, those users who may want t

Re: Adding NCSARequestLog via JAXRSServerFactoryBean

2016-02-23 Thread Sergey Beryozkin
yBean Yeah, the configuration way works, something like On Feb 23, 2016, at 8:13 PM, Sergey Beryozkin wrote: Hi I guess you may want to write a Jetty specific code directly, may be as in this demo server: https://urldefense

Re: JAX-RS 2.0 ParamConverterProvider sample

2016-02-23 Thread Sergey Beryozkin
Hi It is an oversight. I'll look at the JIRA issue Sergey On 23/02/16 12:49, Dennis Kieselhorst wrote: Hi, is there any reason why ParamConverterProvider is not taken into account when org.apache.cxf.jaxrs.client.spec.ClientImpl.WebTargetImpl.queryParam is used? Code sample: Client cli

Re: Adding NCSARequestLog via JAXRSServerFactoryBean

2016-02-23 Thread Sergey Beryozkin
Hi I guess you may want to write a Jetty specific code directly, may be as in this demo server: https://github.com/apache/cxf/blob/master/distribution/src/main/release/samples/jax_rs/search/src/main/java/demo/jaxrs/search/server/Server.java Not sure how to do it with the code below, may be S

Re: Support both Bearer and JWT tokens

2016-02-23 Thread Sergey Beryozkin
On 23/02/16 10:27, Sergey Beryozkin wrote: Hi On 23/02/16 07:24, Rajan1311 wrote: Hi Sergey, I think I have understood what you mean, so the JWT has nothing to do with the OAuth flows. I did not quite imply that JWT was not related to OAuth flows, rather I said the JWTAuthenticationFilter

Re: Support both Bearer and JWT tokens

2016-02-23 Thread Sergey Beryozkin
Hi On 23/02/16 07:24, Rajan1311 wrote: Hi Sergey, I think I have understood what you mean, so the JWT has nothing to do with the OAuth flows. I did not quite imply that JWT was not related to OAuth flows, rather I said the JWTAuthenticationFilter you were thinking of using was not related.

Re: NullPointerException in OAuthRequestFilter

2016-02-23 Thread Sergey Beryozkin
ve an anwser mail for my original question so i resent the same question, then i saw your answer in my SO :) And as you said, Jersey is the problem, you have saved us alots of time. Thank you so much :) 2016-02-22 18:35 GMT+01:00 Sergey Beryozkin : Hi I replied to your original question a week or s

Re: conflicts with the registered path

2016-02-22 Thread Sergey Beryozkin
47215.n5.nabble.com/conflicts-with-the-registered-path-tp5766073p5766158.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: NullPointerException in OAuthRequestFilter

2016-02-22 Thread Sergey Beryozkin
d tried it on Glassfish 4.1.1 and TomEE 7.0.63 on Oracle JDK 1.8.0_66 Thank you all. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: conflicts with the registered path

2016-02-22 Thread Sergey Beryozkin
ml Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: JAX-RS CookieHeaderProvider with httpOnly cookie doesn't work

2016-02-22 Thread Sergey Beryozkin
ork-tp5766083.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Support both Bearer and JWT tokens

2016-02-22 Thread Sergey Beryozkin
iling list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: WebClient - Content-Type Override?

2016-02-16 Thread Sergey Beryozkin
:49, "Sergey Beryozkin" wrote: Hi Christian Starting with CXF 3.1.5 (or may be even 3.1.4) you should be able to set a custom Content-Type and it will go on the wire Cheers, Sergey On 16/02/16 17:43, Christian wrote: Hi Sergey, We are facing a similar issue; we are trying to send a

Re: WebClient - Content-Type Override?

2016-02-16 Thread Sergey Beryozkin
stian Sergey Beryozkin wrote Ok, thanks for this info. You've found the workaround which is good, another option is to register a custom CXF out interceptor which would reset Content-Type to the required value, it can be registered with JAXRSClientFactoryBean: JAXRSClientFactoryBean

Re: NullPointerException in OAuthRequestFilter

2016-02-16 Thread Sergey Beryozkin
Hi Jersey is loaded and it is auto-scanning the providers. Are you using Jersey but only would like to use CXF OAuth2 ? if only CXF is meant to be used then you need to disable Jersey somehow, some info is here: http://cxf.apache.org/docs/jax-rs-deployment.html#JAX-RSDeployment-Glassfish but i

Re: Uppercase elements in Jackson unmarschaling

2016-02-11 Thread Sergey Beryozkin
Hi Andriy I'm really not sure what can be done with this approach but to try and investigate how a custom ObjectMapper/etc can be registered with Jackson*Jaxb*JaxrsProvider. Perhaps a longer term strategy for supporting JSON-only services is to start converting XML schemas into JSON schemas

Re: No support for FailoverFeature in CXF Rest Client implementation (version 3.1.0)

2016-02-10 Thread Sergey Beryozkin
e-in-CXF-Rest-Client-implementation-version-3-1-0-tp5765813.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Sub-Agent in logs telling the version of apache cxf

2016-02-10 Thread Sergey Beryozkin
The docs of the property say "aka User-Agent", so I guess it is safe... Sergey On 10/02/16 11:20, Sergey Beryozkin wrote: I got it fixed. Does someone has any concerns about it ? It does seem User-Agent is how a browserType property was meant to be actually represented, as User-Agent

Re: Sub-Agent in logs telling the version of apache cxf

2016-02-10 Thread Sergey Beryozkin
... Cheers, Sergey On 09/02/16 16:45, Sergey Beryozkin wrote: Hi I just tried, the header goes out when it is set on HttpConduit but it is named as 'BrowserType' which looks like a typo because it is documented to be User-Agent, and I can find no links to BrowserType HTTP header (does

Re: Sub-Agent in logs telling the version of apache cxf

2016-02-09 Thread Sergey Beryozkin
09/02/16 15:20, Khare, Aparna wrote: Thanks a lot Sergey. I tried both the options Setting browser type did not work but setting the Sub-Agent in header worked Thanks for the help, Aparna -Original Message----- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: Sunday, February 7,

Re: CXF ignoring custom headers

2016-02-09 Thread Sergey Beryozkin
le.com/CXF-ignoring-custom-headers-tp5765711.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Sub-Agent in logs telling the version of apache cxf

2016-02-07 Thread Sergey Beryozkin
When a cxf client makes a call the logs are writtern with CXF agent and the version which is a security concern.Can you tell me how to override the agent information. Best Regards, Aparna -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Limit connection/threads for CXF endpoint?

2016-02-01 Thread Sergey Beryozkin
alls our endpoint and the connection size extends the limit, the caller receives connection timeout or some other connection status. And our application remains stable. Thank you in advance. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: AW: CXF 3.0.7 JAXRS POST application/x-www-form-urlencoded

2016-01-26 Thread Sergey Beryozkin
sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. -Ursprüngliche Nachricht- Von: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Gesendet: Sonntag, 6. Dezember 2015 18:47 An: users@cxf.apache.org Betreff: Re: CXF 3.0.7 JAX

Re: Accessing init-param in spring with servlet transport

2016-01-26 Thread Sergey Beryozkin
parts. With the above configuration, the SpEL reference #{contextParameters['filesystemBaseDirectory']} expands to null. If I add context-param declaration to web.xml then the SpEL expression expands to the correct value. Any ideas how to get init-param to work? Cheers, Paul. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: How to limit concurrent requests served by resource?

2016-01-22 Thread Sergey Beryozkin
ther JAXWS or JAXRS mappers can then map it to 503 Sergey On 18/01/16 11:08, Sergey Beryozkin wrote: Hi, jaxrs:server can have features or native CXF interceptors registered within jaxrs:features and jaxrs:inInterceptors (or jaxrs:outInterceptors), so that demo should work the same way with JAX

Re: WADL and Swagger

2016-01-21 Thread Sergey Beryozkin
Hi wadl-to-java generates a Java code and optionally converts WADL docs into JavaDocs too - and with the latest improvements to the feature done by Francesco the source (+ docs) will be converted into Swagger JSON, without necessarily adding Swagger annotations... As a side note, if the only

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