Re: Code review on use of cxf in Apache Tika?

2022-05-07 Thread Sergey Beryozkin
Hi Andriy No problems at all, thanks a million for starting looking into it Sergey On Fri, May 6, 2022 at 2:06 AM Andriy Redko wrote: > Hey Sergey, > > My apologies, I was off last week and only now caught up with all the > things, > so let me understand the problem first. I have looked at

Re: Code review on use of cxf in Apache Tika?

2022-04-23 Thread Sergey Beryozkin
Hey Andriy Great stuff, glad to hear, it is a collection of JAX-RS endpoints backed up by CXF, so the team needs some help to setup HTTPS, Basic (and possibly bearer JWT token verification going forward), I can help with clarifying some details related to JWT, CXF has everything related to it...

Re: Code review on use of cxf in Apache Tika?

2022-04-23 Thread Sergey Beryozkin
Hi Tim Apologies I'm totally occupied with Quarkus right now, I'm sorry it consumes all the time. Andriy, if you could help the Tika colleagues then it would be great, as you've helped with integrating Tika in Apache CXF as well, recall how we enjoyed the presentation about Tika at one of ASF

Re: CXF, OAuth2 and social login

2018-02-12 Thread Sergey Beryozkin
Hi I'm assuming you are mainly interested in making your web application acting as OpenIdConnect client or RP, i.e, a user who is about to access this web application needs to authenticated first against Google/etc ? CXF offers quite a decent support for it, I'd recommend to experiment with

Re: CXF startup error in OSGi container (checkBindingFactory)

2018-02-09 Thread Sergey Beryozkin
for your response. Yeah ... these are my favourite issues: happens once per 20 starts, only on some environments, not really debuggable. Thanks for the hints, will fighting. Regards, Andrei. -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: Freitag, 9

Re: CXF startup error in OSGi container (checkBindingFactory)

2018-02-09 Thread Sergey Beryozkin
Hi Andrei Looks like the problem is happening earlier, https://github.com/apache/cxf/blob/cxf-3.1.7/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/AbstractJAXRSFactoryBean.java#L99 and the stack-trace suggests that BindingFactoryManager is null, it is not set as a bus extension. Why

Re: Remove obsolete RxJava code and keep RxJava2 only one

2018-02-06 Thread Sergey Beryozkin
ing recently, it didn't make much sense to see both RxJava and JDA> RxJava2 in one module). JDA> On Wed, Nov 15, 2017 at 10:56 AM Sergey Beryozkin < sberyoz...@gmail.com> JDA> wrote: Hi cxf-rt-rs-extension-rx ships the code for both (old) RxJava and RxJava2 code. It supports

Re: Reactive Services & CDI

2018-02-05 Thread Sergey Beryozkin
Hi John On 04/02/18 19:19, John D. Ament wrote: On Sun, Feb 4, 2018 at 2:01 PM Sergey Beryozkin <sberyoz...@gmail.com> wrote: I thought I'd point to the utility of that module anyway (by the way, in the updated code below the AsyncResponse is also not needed) Yep, I know that. Was

Re: Reactive Services & CDI

2018-02-04 Thread Sergey Beryozkin
, I think you're mixing emails (the email on dev@ is unrelated). On Sun, Feb 4, 2018 at 12:53 PM Sergey Beryozkin <sberyoz...@gmail.com> wrote: That dependency you referred to should let you do: @Path("/") public class RestController { @GET

Re: Reactive Services & CDI

2018-02-04 Thread Sergey Beryozkin
That dependency you referred to should let you do: @Path("/") public class RestController { @GET @Produces(MediaType.APPLICATION_JSON) public Flux doGet(@Suspended AsyncResponse asyncResponse) { ClientBuilder.newClient()

Re: Reactive Services & CDI

2018-02-04 Thread Sergey Beryozkin
Why should be optional ? Sergey On 04/02/18 16:13, John D. Ament wrote: I built a simple webapp (WAR file, deploying to Tomcat) that depends on the CXF 3.2.2 libraries + Weld 3.0.2. I don't believe CDI has anything to do with my problem though. I registered a feature/server customizer that

Re: Strategies for randomizing or verifying port number for JAXRSServerFactoryBean, or using local transport

2018-01-15 Thread Sergey Beryozkin
Hi David WebClient.getConfig() would work but only if you pass to it InvocationBuilder (JAX-RS 2.0 Client.target().request(), etc) But you can set whatever properties you need to pass to the CXF client runtime on the JAX-RS 2.0 Client Configuration which is simpler. By the way, I'm not

Re: Some questions about JAXRSServerFactoryBean

2018-01-12 Thread Sergey Beryozkin
Hi David I vaguely recall it was be needed to help set up the endpoint, but it is a default value now, so no need to set it explicitly Sergey On 12/01/18 17:50, KARR, DAVID wrote: In the Javadoc for the "JAXRSServerFactoryBean" class, it shows in the example that it sets the "bindingId"

Re: Incoming message processing: filters, interceptors, invokers?

2018-01-12 Thread Sergey Beryozkin
Hi But can you have a single JAX-RS service implementation which simply delegates to the Task ? A CXF endpoint needs to have an implementation, for example, I experimented with delegating the calls to Olingo recently:

Re: How to customize BINARY_CONTENT_MEDIA_TYPES in DefaultLogEventMapper?

2017-12-28 Thread Sergey Beryozkin
Hi I've added application/pdf to the default list. The new logging interceptors do not allow the customization, Christian, if you can get few mins, have a look please :-). Adding the property to the abstract logger makes sense IMHO... Cheers, Sergey On 26/12/17 07:48, Vjacheslav V. Borisov

Re: @Context Application injection not available for Feature

2017-12-19 Thread Sergey Beryozkin
think CXF should do the same. It kinds of feel right, doesn't it? Should I file a JIRA ticket? Bests. Carlos. El 5/12/17 a las 11:42, Sergey Beryozkin escribió: Hi Carlos I can see how it might work, but there should be some more evidence it will be portable should some whiteboard implementat

Re: CXF JAX-RS servers/providers and OSGi whiteboard

2017-12-19 Thread Sergey Beryozkin
Hi Carlos On 19/12/17 11:01, Carlos Sierra Andrés wrote: h... this is a very legit question. I had already answered as if François was meaning JAX-RS Features. If you don't mean JAX-RS features, but CXF or Karaf features, then I think there is no way to register them, yet. So far we are

Re: DELETE with body

2017-12-12 Thread Sergey Beryozkin
Hi Andy As far as I recall HttpURLConnection does not support DELETE with the body, So the solution is to add the async conduit module, JAXRSAsyncClientTest#deleteWithBody shows it Cheers, Sergey On 12/12/17 04:04, Andy McCright wrote: Hi Matthew, If you are using the WebClient APIs directly,

Re: Passing InvocationCallback via JAX-RS client proxy method param ?

2017-12-11 Thread Sergey Beryozkin
Hi The proxy invocations, sync or async ones, are not specified by JAX-RS at all, However, this effort, https://github.com/eclipse/microprofile-rest-client attempts to standardize the proxy approach, please propose there, Cheers, Sergey On 08/12/17 16:00, Romain Quinio wrote: Hello, I

Re: Multipart data in AbstractPhaseInterceptor

2017-12-07 Thread Sergey Beryozkin
Hi Try implementing MultipartInputFilter, ex: https://github.com/apache/cxf/blob/master/rt/rs/security/jose-parent/jose-jaxrs/src/main/java/org/apache/cxf/rs/security/jose/jaxrs/multipart/JwsMultipartSignatureInFilter.java and then register it from your interceptor like this:

Re: CXF 3.2.1 swagger generation are wrong for json

2017-12-06 Thread Sergey Beryozkin
ve an impact.. I will return once I know more!! Thanks! On Mon, Dec 4, 2017 at 5:08 PM, Sergey Beryozkin <sberyoz...@gmail.com <mailto:sberyoz...@gmail.com>> wrote: CXF Swagger feature itself is not importing Swagger annotation

Re: @Context Application injection not available for Feature

2017-12-05 Thread Sergey Beryozkin
s injected, but I can't see why the application could not be there since it should be already instantiated. What do you think? Bests. Carlos. El 4/12/17 a las 23:15, Sergey Beryozkin escribió: Hi Carlos Is it expected to be supported ? I do not see it Feature#configure docs Cheers, Sergey On 0

Re: @Context Application injection not available for Feature

2017-12-04 Thread Sergey Beryozkin
Hi Carlos Is it expected to be supported ? I do not see it Feature#configure docs Cheers, Sergey On 04/12/17 09:00, Carlos Sierra Andrés wrote: Hello there, I was trying to get the current application using `@Context Application application` inside a Feature. I can see in the code that

Re: CXF 3.2.1 swagger generation are wrong for json

2017-12-04 Thread Sergey Beryozkin
er feature somehow are not able to read the annotations across the bundles, that would very much explain why its not working..? On Mon, Dec 4, 2017 at 11:46 AM, Sergey Beryozkin <sberyoz...@gmail.com <mailto:sberyoz...@gmail.com>> wrote: Nice, Just out of curiosity, what do

Re: CXF 3.2.1 swagger generation are wrong for json

2017-12-04 Thread Sergey Beryozkin
>gistration.. But no matter what I do it has no effect on what the swagger feature generates.. Where it's changing the json provider or removing it all together.. Trying it now without setting swagger2Customizer.. On Thu, Nov 30, 2017 at 1:04 P

Re: CXF 3.21 and bean validation

2017-12-01 Thread Sergey Beryozkin
and then resolve the problem faster :-) Sergey On 01/12/17 10:03, Sergey Beryozkin wrote: Np at all, sorry for actually being impatient as I actually did not lose any time :-). You know, sometimes, one can get a bit more protective than needed of the code :-) which is as it happens not ideal and may indeed

Re: CXF 3.21 and bean validation

2017-12-01 Thread Sergey Beryozkin
wrote: Well its not a custom exception, unless you consider jax rs 2, my creation :) javax.ws.rs.NotAcceptableException I will digg into it, thanks for your patience. On Thu, Nov 30, 2017 at 3:31 PM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Can you please debug ? Sergey On 30

Re: CXF 3.21 and bean validation

2017-11-30 Thread Sergey Beryozkin
Can you please debug ? Sergey On 30/11/17 14:08, Sergey Beryozkin wrote: I'm sorry but I don't have time for dealing with some indirect assumptions that ValidationExceptionMapper which is typed with toResponse(ValidationException) somehow accepts your custom NotAcceptableException. Unless

Re: CXF 3.21 and bean validation

2017-11-30 Thread Sergey Beryozkin
ith an more complete example. if you want? On Thu, Nov 30, 2017 at 2:27 PM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: How did you come to this conclusion ? Sergey On 30/11/17 13:22, nino martinez wael wrote: Hi Is it possible to use both org.apache.cx

Re: CXF 3.21 and bean validation

2017-11-30 Thread Sergey Beryozkin
/org.apache.cxf.jaxrs.validation.ValidationExceptionMapper together.. Currently is seems the ValidationExceptionMapper are catching my NotAcceptableException etc and coughing up 500's -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF 3.2.1 swagger generation are wrong for json

2017-11-30 Thread Sergey Beryozkin
Yes, the minor Swagger version caused this change, what was working 3.1.x, specifically the serializers approach, was not working any longer with the new Swagger version, hence this update. I honestly do not know why exactly a JAXB annotated bean is not correctly represented in the

Re: Transformation interceptor to replace arbitrary text content

2017-11-29 Thread Sergey Beryozkin
ionFeature. I was also checking whether CXF allowed to register custom deserializers/mapper for a given type (i.e. from that custom XML StringType to Java String) but I haven't found anything yet. On 29.11.17 14:22, Sergey Beryozkin wrote: You should be able to replace it: https://github.com/

Re: Transformation interceptor to replace arbitrary text content

2017-11-29 Thread Sergey Beryozkin
Or may be "{http://bar}a;, "{http://bar}a= " or similar, please experiment. XSLTFeature should def work though... On 29/11/17 13:22, Sergey Beryozkin wrote: You should be able to replace it: https://github.com/apache/cxf/blob/master/core/src/test/java/org/apache/cxf/stax

Re: Transformation interceptor to replace arbitrary text content

2017-11-29 Thread Sergey Beryozkin
...some more documentation... -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF 3.2.1 JAX RS and bean validation

2017-11-29 Thread Sergey Beryozkin
It has an optional addMessageToResponse property, and you can always customize, example, as David suggested, create your own mapper, may be it will just extend ValidationExceptionMapper and set its addMessageToResponse to true, etc Cheers, Sergey On 29/11/17 09:17, nino martinez wael wrote:

Re: CDI injection in CXF interceptor.

2017-11-17 Thread Sergey Beryozkin
Sorry, that won't work with JAX-WS. May be, instead of using @InInterceptors, register the interceptor on the endpoint the same way you do it with the service class. Sergey On 17/11/17 10:34, Sergey Beryozkin wrote: Hi Try to add org.apache.cxf.annotations.Provider annotation: @Provider

Re: CDI injection in CXF interceptor.

2017-11-17 Thread Sergey Beryozkin
Hi Try to add org.apache.cxf.annotations.Provider annotation: @Provider(Type.InInterceptor) to InfoInterceptor instead of @InInterceptors... Sergey On 17/11/17 09:28, Balu S wrote: Hi, I have tried to inject CDI Bean (using @Inject) in the CXF interceptor but it is not instantiated and is

Re: Remove obsolete RxJava code and keep RxJava2 only one

2017-11-15 Thread Sergey Beryozkin
for removing the old rxjava support I would also be fine with it living in a separate module. Christian 2017-11-15 16:56 GMT+01:00 Sergey Beryozkin <sberyoz...@gmail.com>: Hi cxf-rt-rs-extension-rx ships the code for both (old) RxJava and RxJava2 code. It supports returning RxJava2 Fl

Re: Remove obsolete RxJava code and keep RxJava2 only one

2017-11-15 Thread Sergey Beryozkin
AM Sergey Beryozkin <sberyoz...@gmail.com> wrote: Hi cxf-rt-rs-extension-rx ships the code for both (old) RxJava and RxJava2 code. It supports returning RxJava2 Flowable and Observable on the server and accepting it on the client, and the same for the (old) RxJava Observable... Whil

Remove obsolete RxJava code and keep RxJava2 only one

2017-11-15 Thread Sergey Beryozkin
Hi cxf-rt-rs-extension-rx ships the code for both (old) RxJava and RxJava2 code. It supports returning RxJava2 Flowable and Observable on the server and accepting it on the client, and the same for the (old) RxJava Observable... While even the (old) RxJava code is very new for CXF, the

Re: How to generate WADL on "root" of controller, not just with "?_wadl"?

2017-11-08 Thread Sergey Beryozkin
; to the URL in my test. Now that this is working, I'd like to experiment with other options. For instance, how can I make accessing the following URL give me the WADL? http://localhost:8080/combinedAtgUslMonitorService/controller On 07/11/17 17:52, KARR, DAVID wrote: -----Original Messa

Re: Tomcat 9.0.1 start in CXF tests

2017-11-08 Thread Sergey Beryozkin
com> wrote: Yep :) This was was my initial fix But then I got recommendations from Konstantin and refactor a little bit :) On Wed, Nov 8, 2017 at 10:37 PM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Hi Max Thanks for this info, will save us a lot of time with trying to migrate

Re: Tomcat 9.0.1 start in CXF tests

2017-11-08 Thread Sergey Beryozkin
Hi Max Thanks for this info, will save us a lot of time with trying to migrate to Tomcat 9 :-). In the simplest case, is it enough just to add a .getConnector() call, without having to set up a Connector explicitly as in your code ? Cheers. Sergey On 08/11/17 13:58, Maxim Solodovnik wrote:

Re: How to generate WADL on "root" of controller, not just with "?_wadl"?

2017-11-07 Thread Sergey Beryozkin
: -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: Tuesday, November 07, 2017 9:17 AM To: users@cxf.apache.org Subject: Re: How to generate WADL on "root" of controller, not just with "?_wadl"? Try application/vnd.sun.wadl+xml please.

Re: How to generate WADL on "root" of controller, not just with "?_wadl"?

2017-11-07 Thread Sergey Beryozkin
Try application/vnd.sun.wadl+xml please. Sergey On 07/11/17 16:43, KARR, DAVID wrote: -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: Tuesday, November 07, 2017 3:16 AM To: users@cxf.apache.org Subject: Re: How to generate WADL on "root" of

Re: cxf-java2wadl-plugin java2wadl questions

2017-11-07 Thread Sergey Beryozkin
: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: 07 November, 2017 14:15 To: Eyal Weingart <eyal.weing...@exlibrisgroup.com>; users <users@cxf.apache.org> Subject: Re: cxf-java2wadl-plugin java2wadl questions Sorry I forgot, I think 3.1.14 is already available in Central Give it

Re: cxf-java2wadl-plugin java2wadl questions

2017-11-07 Thread Sergey Beryozkin
: org.apache.cxf.jaxrs.model.wadl.WadlGenerator And i see it under cxf-rt-rs-service-description-3.1.13.jar Not sure i will be able to "test" this locally so my next question is - do you plan to add it to future release, and if so when can i expect it (give or take :-) )? Thanks, Eyal -Original Message----- From: Sergey

Re: How to generate WADL on "root" of controller, not just with "?_wadl"?

2017-11-07 Thread Sergey Beryozkin
Hi David I looked at the code, I think you can add a '.wadl' to the path instead - and for this to work at the server it requires an extensionMappings map property to have a "wadl":"application/wadl" pair Sergey On 06/11/17 22:54, KARR, DAVID wrote: I managed to add the

Re: cxf-java2wadl-plugin java2wadl questions

2017-11-07 Thread Sergey Beryozkin
lass(SelfFirstStrategy.java:50) [exec] at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) [exec] at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) Thanks, Eyal -----Original Message- From: Se

Re: cxf-java2wadl-plugin java2wadl questions

2017-11-01 Thread Sergey Beryozkin
i'm connecting only to a local maven repository) Is it possible to send me the jar for this snapshot version so we can upload it to our local maven repository and then work with it? Thanks, Eyal -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: 23 October

Re: fediz production

2017-10-31 Thread Sergey Beryozkin
Hi Matthew Thanks for the feedback. Finally I get a chance to contribute to this thread :-). Putting aside the fact KeyCloak is a high quality project, I'd like to say the fact you could not figure out how to set up the keys is not sufficient to conclude Fediz is not ready for use in

Re: Swagger2feature / 3.1.12 (DOSGI)

2017-10-31 Thread Sergey Beryozkin
On Thu, Oct 26, 2017 at 4:20 PM, Sergey Beryozkin <sberyoz...@gmail.com <mailto:sberyoz...@gmail.com>> wrote: As I said, I've added a check there, try 3.1.14-SNAPSHOT Sergey On 26/10/17 13:09, nino martinez wael wrote: okay, I have what are happening.. First cal

Re: Swagger2feature / 3.1.12 (DOSGI)

2017-10-26 Thread Sergey Beryozkin
trange, I'll debug some more and see what are modifying the property.. On Mon, Oct 23, 2017 at 11:56 AM, Sergey Beryozkin <sberyoz...@gmail.com <mailto:sberyoz...@gmail.com>> wrote: Thanks, sure, I've added a guard there to avoid auto-setting the host value if it's

Re: Swagger2feature / 3.1.12 (DOSGI)

2017-10-23 Thread Sergey Beryozkin
0/tdc/dialer/webservices/v1; On Thu, Oct 12, 2017 at 3:51 PM, Sergey Beryozkin <sberyoz...@gmail.com <mailto:sberyoz...@gmail.com>> wrote: Hmm... I may've been wrong with some of the assumptions about what Swagger2Feature does. Can you please do a breakpoint at h

Re: cxf-java2wadl-plugin java2wadl questions

2017-10-23 Thread Sergey Beryozkin
-java2wadl- plugin:jar:3.1.14-SNAPSHOT: Could not find artifact org.apache.cxf:cxf-java2wadl-plugin:pom:3.1.14-SNAPSHOT in Thanks, Eyal -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: 19 October, 2017 17:01 To: Eyal Weingart <eyal.we

Re: cxf-java2wadl-plugin java2wadl questions

2017-10-19 Thread Sergey Beryozkin
and not 3.1.14 so will need to fix some dependencies so my build will not fail... Thanks, Eyal -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: 19 October, 2017 15:20 To: Eyal Weingart <eyal.weing...@exlibrisgroup.com>; users <users@cxf.apache.org

Re: cxf-java2wadl-plugin java2wadl questions

2017-10-19 Thread Sergey Beryozkin
From: Eyal Weingart Sent: 18 October, 2017 13:47 To: Sergey Beryozkin <sberyoz...@gmail.com>; users <users@cxf.apache.org> Subject: RE: cxf-java2wadl-plugin java2wadl questions Well, actually i was referring to applicative error codes (and their descriptions) - that might be

Re: providing basic auth via wadl2java?

2017-10-19 Thread Sergey Beryozkin
OK, I've renamed it to "authentication", but please do test it before it gets released Sergey On 15/09/17 16:03, Shan Syed wrote: Truthfully I think "authentication" is a more appropriate word, but it's not a big deal ;) On Thu, Sep 14, 2017 at 5:16 PM, Sergey Beryozkin &

Re: cxf-java2wadl-plugin java2wadl questions

2017-10-18 Thread Sergey Beryozkin
catch block on the client knowing 405 can be returned, but I'm not sure what difference it makes, where this 405 info is located in the response statuses or in the docs... Cheers, Sergey On 18/10/17 10:37, Sergey Beryozkin wrote: I forgot it's really about using a Maven plugin. Hmm...I guess we may

Re: cxf-java2wadl-plugin java2wadl questions

2017-10-18 Thread Sergey Beryozkin
ring build time Thanks, Eyal -Original Message----- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: 17 October, 2017 17:48 To: Eyal Weingart <eyal.weing...@exlibrisgroup.com>; users <users@cxf.apache.org> Subject: Re: cxf-java2wadl-plugin java2wadl questions Hi, O

Re: cxf-java2wadl-plugin java2wadl questions

2017-10-17 Thread Sergey Beryozkin
-Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: 17 October, 2017 00:06 To: users <users@cxf.apache.org> Cc: Eyal Weingart <eyal.weing...@exlibrisgroup.com> Subject: Re: cxf-java2wadl-plugin java2wadl questions Hi On 16/10/17 12:35, Eyal Weingart wrote: Hi,

Re: JAX-RS Interrupt StreamingOutput

2017-10-17 Thread Sergey Beryozkin
. -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: lundi 16 octobre 2017 11:50 To: users@cxf.apache.org Subject: Re: JAX-RS Interrupt StreamingOutput Hi Anthony And in the browser case this exception is not recognized/seen at all ? What I'm trying to say

Re: REST request from the service itself

2017-10-17 Thread Sergey Beryozkin
I did it in this test: https://github.com/apache/cxf/blob/master/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/jaxws/BookStoreSoapRestImpl.java#L55 and

Re: cxf-java2wadl-plugin java2wadl questions

2017-10-16 Thread Sergey Beryozkin
Thanks in advance Eyal -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: JAX-RS Interrupt StreamingOutput

2017-10-16 Thread Sergey Beryozkin
without having no notification something went wrong. Sergey On 16/10/17 10:41, MULLER, Anthony wrote: Hi Sergey, The server throws an exception when there is an issue during the ZIP generation. Anthony -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: lundi

Re: JAX-RS Interrupt StreamingOutput

2017-10-16 Thread Sergey Beryozkin
(like Chrome). Best regards, Anthony -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: lundi 16 octobre 2017 10:38 To: users@cxf.apache.org Subject: Re: JAX-RS Interrupt StreamingOutput Hi Anthony AFAIK the status goes first with the 1st write, so there's really

Re: JAX-RS Interrupt StreamingOutput

2017-10-16 Thread Sergey Beryozkin
Hi Anthony AFAIK the status goes first with the 1st write, so there's really no way to replace it with something else if there was an error later on while writing the stream. I don't think so the fact a client gets 200 and then, presumably, IOException, is inconsistent, the client code

Re: FIQL: escape comma

2017-10-12 Thread Sergey Beryozkin
Hi Francesco You are very kind, very often I've no idea (at least at the start) what is going on with the code I did :-) Thanks, Sergey On 12/10/17 14:51, Francesco Chicchiriccò wrote: On 12/10/2017 11:23, Sergey Beryozkin wrote: Hi Francesco Sorry I did not help, checked your emails

Re: Swagger2feature / 3.1.12 (DOSGI)

2017-10-12 Thread Sergey Beryozkin
://github.com/nmwael/cxf/commit/86630259982786f013faad658e84bd27bca368b7 The resulting swagger.json does not honor the host property, host remains the same no matter what: "host":"0.0.0.0:9000 <http://0.0.0.0:9000>" On Thu, Oct 12, 2017 at 1:32 PM, Sergey Beryo

Re: Swagger2feature / 3.1.12 (DOSGI)

2017-10-12 Thread Sergey Beryozkin
ethod... On Thu, Oct 12, 2017 at 11:25 AM, Sergey Beryozkin <sberyoz...@gmail.com <mailto:sberyoz...@gmail.com>> wrote: In this case it is really somewhere in the Swagger code Sergey On 11/10/17 18:29, nino martinez wael wrote: No problem, I tried both configuratio

Re: Swagger2feature / 3.1.12 (DOSGI)

2017-10-12 Thread Sergey Beryozkin
In this case it is really somewhere in the Swagger code Sergey On 11/10/17 18:29, nino martinez wael wrote: No problem, I tried both configurations but no matter what I do, the host remains the same 0.0.0.0:9090 <http://0.0.0.0:9090> On 11 Oct 2017 15:51, "Sergey Beryozki

Re: FIQL: escape comma

2017-10-12 Thread Sergey Beryozkin
://github.com/apache/syncope/blob/2_0_X/common/lib/src/main/java/org/apache/syncope/common/lib/search/SyncopeFiqlParser.java -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Swagger2feature / 3.1.12 (DOSGI)

2017-10-11 Thread Sergey Beryozkin
ative option is to set a 'usePathBasedConfig' property - I think this may actually work better HTH, SErgey On Wed, Oct 11, 2017 at 3:19 PM, Sergey Beryozkin <sberyoz...@gmail.com <mailto:sberyoz...@gmail.com>> wrote: Can you please explain what is wrong with the returned fragment

Re: External App appears incompatible with CXF. What can I do?

2017-10-10 Thread Sergey Beryozkin
ks for reading. Erwin Erwin Hogeweg CTO 3690 Airport Road Boca Raton, FL 33431 P. +1 (954) 556-6565 M. +1 (561) 306-7395 F. +1 (561) 948-2730 [Seecago]<http://www.seecago.com> -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF - Content-Type: multipart/related start attribute support missing

2017-10-04 Thread Sergey Beryozkin
Hi sorry for a delay, Can you please check https://issues.apache.org/jira/browse/CXF-6431 Is it relevant to the problem you are seeing ? Cheers, Sergey On 21/09/17 10:53, RayD wrote: Hi Sergey, confirmed as not working with 3.1.13. Looking at the code, I cannot see any checks in the

Re: org.apache.cxf.osgi.cfg redirect

2017-09-26 Thread Sergey Beryozkin
On 26/09/17 12:54, smunro wrote: Thanks for the quick reply. I tried your pre match filter suggestion and found it worked only if I put the full URL in. If I left it as http://localhost:8181 the filter wasn't hit. I suspect this is because of the root context I've specified in the cxf

Re: org.apache.cxf.osgi.cfg redirect

2017-09-26 Thread Sergey Beryozkin
Hi I believe for this to work you'd need to have 2 CXFServlets and deployed a bundle as a war-bundle https://github.com/Talend/tesb-rt-se/blob/master/examples/cxf/jaxrs-jaxws-transformations/war-bundle/src/main/resources/WEB-INF/web.xml If you have Blueprint contexts, then try

Re: SpringBoot and JAX-RS Service Auto Discovery...

2017-09-20 Thread Sergey Beryozkin
Yeah, start Eureka app first, next - the server app, give it few secs for Eureka to pick the registrations, run the client... Sergey On 20/09/17 07:07, Dennis Kieselhorst wrote: Is there an example project that includes this feature? I must be missing something. What dependency does it need

Re: SpringBoot and JAX-RS Service Auto Discovery...

2017-09-19 Thread Sergey Beryozkin
or another service? -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF - Content-Type: multipart/related start attribute support missing

2017-09-19 Thread Sergey Beryozkin
On 19/09/17 13:28, RayD wrote: Question relating to the use of the start attribute on the Content-Type Header which appears to have been dropped from CXF somewhere along the way. According to https://tools.ietf.org/html/rfc2387 , start is an optional

Re: Does SSE + CDI work?

2017-09-18 Thread Sergey Beryozkin
Ok, I added @Provider(value = Type.Feature, scope = Scope.Server) Andriy, will CXF CDI auto-discover it now or will it have to be updated a bit to have CXF features/interceptors picked up, same way we can do it for Spring ? Thanks, Sergey On 18/09/17 11:27, Sergey Beryozkin wrote: On 18/09

Re: Does SSE + CDI work?

2017-09-18 Thread Sergey Beryozkin
at 5:09 AM Sergey Beryozkin <sberyoz...@gmail.com> wrote: Have a look at the sse cdi demo Andriy added to the distribution, the feature (the one dealing with SSE) is expected to be auto-registered. Re the transport id, by default CXF assumes it is 'plain' HTTP, so it needs a hint. What d

Re: CDI & Class Metadata Parsing

2017-09-18 Thread Sergey Beryozkin
one checked in and used by default if you're using CDI integration? On Mon, Sep 18, 2017 at 4:41 AM Sergey Beryozkin <sberyoz...@gmail.com> wrote: My understanding ClassUnwrapper callback was added to support these scenarios, Romain may've used it. Sergey On 17/09/17 23:27, John D. Ament

Re: Does SSE + CDI work?

2017-09-18 Thread Sergey Beryozkin
org.apache.cxf cxf-rt-rs-sse org.apache.cxf cxf-rt-transports-http -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CDI & Class Metadata Parsing

2017-09-18 Thread Sergey Beryozkin
My understanding ClassUnwrapper callback was added to support these scenarios, Romain may've used it. Sergey On 17/09/17 23:27, John D. Ament wrote: On Sun, Sep 17, 2017 at 5:09 PM Sergey Beryozkin <sberyoz...@gmail.com> wrote: Hi On 17/09/17 15:37, John D. Ament wrote: Hey So I ju

Re: CDI & Class Metadata Parsing

2017-09-17 Thread Sergey Beryozkin
Hi On 17/09/17 15:37, John D. Ament wrote: Hey So I just ran into an issue where ExceptionMappers weren't being processed in CXF when they had a CDI normal scope. Switching to a pseudo scope (@Dependent) fixes it. A similar issue to what I saw recently with Weld and Generic Type being lost,

Re: providing basic auth via wadl2java?

2017-09-14 Thread Sergey Beryozkin
, it's communicating fine and processing the remote WADL :) thanks! On Thu, Sep 14, 2017 at 12:07 PM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Can you please try 3.1.14-SNAPSHOT now ? Sergey On 13/09/17 18:34, Shan Syed wrote: ok, thanks, looking forward to it! On Wednesday, Septem

Re: providing basic auth via wadl2java?

2017-09-14 Thread Sergey Beryozkin
Can you please try 3.1.14-SNAPSHOT now ? Sergey On 13/09/17 18:34, Shan Syed wrote: ok, thanks, looking forward to it! On Wednesday, September 13, 2017, Sergey Beryozkin <sberyoz...@gmail.com> wrote: For some reasons I thought it was about retrieving the internal references only, s

Re: providing basic auth via wadl2java?

2017-09-13 Thread Sergey Beryozkin
see why it's not being found. On Tue, Sep 12, 2017 at 6:09 AM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: I've deployed a cxf-tools-wadlto-jaxrs/3.1.14-SNAPSHOT with the fix, can you try it ? If it works then may be you can just update the jaxrs-toolspec.xml in the 3.1.13 version in the

Re: providing basic auth via wadl2java?

2017-09-12 Thread Sergey Beryozkin
I've deployed a cxf-tools-wadlto-jaxrs/3.1.14-SNAPSHOT with the fix, can you try it ? If it works then may be you can just update the jaxrs-toolspec.xml in the 3.1.13 version in the .m2 repository and use till 3.1.14 is out Sergey On 11/09/17 22:17, Sergey Beryozkin wrote: Yes, I did it few

Re: providing basic auth via wadl2java?

2017-09-11 Thread Sergey Beryozkin
te: Great, I will try it when it's available! On Wed, Sep 6, 2017 at 11:39 AM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Np. hope that code I added will work from the 1st attempt :-), I did not want to introduce a strong dep on the CXF JAX-RS client code, so resorted to writing some

Re: providing basic auth via wadl2java?

2017-09-11 Thread Sergey Beryozkin
.com> wrote: Great, I will try it when it's available! On Wed, Sep 6, 2017 at 11:39 AM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Np. hope that code I added will work from the 1st attempt :-), I did not want to introduce a strong dep on the CXF JAX-RS client code, so resorted to wri

Re: ResponseBuilder interfering with true return type : Impacts Swagger

2017-09-11 Thread Sergey Beryozkin
For some reason I'm finding these messages in the spam folder... Sorry. I don't understand what you mean below. If you prefer to return JAX-RS Response then there must be a way to tell Swagger what the entity type is and this is why Swagger annotations have to be used in such cases. Sergey

Re: [CXF 2.7.16] UriInfo.getAbsolutePathBuilder()

2017-09-07 Thread Sergey Beryozkin
Hi Anthony Good to hear from you, There's only one way to find out, try for ex CXF 3.1.12 2.7.16 might have some buggy code in determining the host name if it is not currently available... Cheers, Sergey On 07/09/17 12:03, MULLER, Anthony wrote: Hello, We are facing a very weird issue: in

Re: providing basic auth via wadl2java?

2017-09-06 Thread Sergey Beryozkin
On Friday, September 1, 2017, Sergey Beryozkin <sberyoz...@gmail.com> wrote: I've created this issue: https://issues.apache.org/jira/browse/CXF-7492 but will likely have no time to complete it early next week, but at least it will be tracked Cheers, Sergey On 25/08/17 15:14, Sergey Beryozkin

Re: ResponseBuilder interfering with true return type : Impacts Swagger

2017-09-06 Thread Sergey Beryozkin
nseBuilder, as there no annotation/declarative way of handling this more cleanly? thanks, Arjun -- Sent from: http://cxf.547215.n5.nabble.com/cxf-user-f547216.html -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: providing basic auth via wadl2java?

2017-09-01 Thread Sergey Beryozkin
I've created this issue: https://issues.apache.org/jira/browse/CXF-7492 but will likely have no time to complete it early next week, but at least it will be tracked Cheers, Sergey On 25/08/17 15:14, Sergey Beryozkin wrote: I see, makes sense to add a new switch Sergey On 25/08/17 14:52

Re: Handling vnd (vendor) content type

2017-09-01 Thread Sergey Beryozkin
xf-user-f547216.html -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Unable to locate Spring NamespaceHandler for XML schema namespace [http://cxf.apache.org/jaxrs]

2017-09-01 Thread Sergey Beryozkin
Hi Thanks for this query. And sorry I don't know what to recommend. I've definitely seen this issue before, with simple bundles, without any inter-dependencies, and the only thing I recall it was always something to do with SpringDM not helping for whatever reasons. One thing I recall that

Re: Handling vnd (vendor) content type

2017-08-31 Thread Sergey Beryozkin
On 31/08/17 06:54, NicholaiX wrote: I need to handle a vendor XML type, e.g. "application/vnd.com.something+xml" in a REST service. This is actually a compliant XML document, so I'd like to have CXF treat it as an XML document during serialization and deserialization. The only exception would

  1   2   3   4   5   6   7   8   9   10   >