Re: wadl2java classloading issue in Jenkins

2017-03-23 Thread Sergey Beryozkin
An in the short term please add the servlet API to the build classpath :-) On 23/03/17 13:44, Sergey Beryozkin wrote: Hi Andrei I think it is the consequence of JAXRSUtils growing too large over a number of years, I'd say it is the Servlet API imports that cause the issue in an eagerly loading

Re: No message body writer has been found for class org.jboss.snowdrop.springboot.rest.cxf.service.Greeting

2017-03-20 Thread Sergey Beryozkin
Hi Charles You can return as a @Bean or use jaxrs.classes-scan http://cxf.apache.org/docs/springboot.html#SpringBoot-AdditionalConfiguration.1 (JsrJsonpProvider works with the specific API, you probably want to try Jackson or some other JSON provider which can work with the beans) Cheers,

Re: Best way to handle a HEAD request as a heartbeat?

2017-03-20 Thread Sergey Beryozkin
Hi David On 20/03/17 20:10, KARR, DAVID wrote: -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: Sunday, March 19, 2017 2:49 PM To: users@cxf.apache.org Subject: Re: Best way to handle a HEAD request as a heartbeat? It should return JAXRS Response

Re: Best way to handle a HEAD request as a heartbeat?

2017-03-19 Thread Sergey Beryozkin
It should return JAXRS Response with no entity set. Cheers, Sergey On 18/03/17 21:17, KARR, DAVID wrote: -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: Monday, March 13, 2017 3:21 AM To: users@cxf.apache.org Subject: Re: Best way to handle a HEAD request

Re: Singleton JAX-RS resource

2017-03-14 Thread Sergey Beryozkin
as singleton. I also see that @Singleton is no longer available as part of the cxf frontend rs module. Will you be releasing the 3.1.11 version soon ? Thanks for your help, Aruna. On Mon, Mar 13, 2017 at 8:43 PM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: I deployed the related CXF 3.1.11-SN

Re: Singleton JAX-RS resource

2017-03-13 Thread Sergey Beryozkin
o as to cover for ex CDI Singleton, etc) Cheers, Sergey On 13/03/17 11:21, Aruna Kalagnanam wrote: Hi Sergey Yes, I'm using the cxf http-sci module and no web.xml. Thanks, Aruna. On Mar 13, 2017 16:23, "Sergey Beryozkin" <sberyoz...@gmail.com> wrote: Hi On 12/03/17 06:37,

Re: Singleton JAX-RS resource

2017-03-13 Thread Sergey Beryozkin
I deployed the related CXF 3.1.11-SNAPSHOT modules, so please try when you get a chance... Cheers, Sergey On 13/03/17 15:11, Sergey Beryozkin wrote: Hi We did some work on the master (3.2.0-SNAPSHOT) for overriding the default lifecycle of Application.getClasses, using the existing

Re: Singleton JAX-RS resource

2017-03-13 Thread Sergey Beryozkin
Hi On 12/03/17 06:37, Aruna Kalagnanam wrote: Hello I'm using Apache CXF 3.1.9 with Tomcat 7. I have written a JAX-RS application with a JAX-RS resource and subclassed Application class. I realized that the JAX-RS resource is per-request scoped by default. I would like to make it application

Re: Best way to handle a HEAD request as a heartbeat?

2017-03-13 Thread Sergey Beryozkin
Sure, introduce a @Head resource method Sergey On 11/03/17 03:07, KARR, DAVID wrote: I have a small REST service and a browser client to go with it. The browser client has a "heartbeat" service that just sends a HEAD request, just to verify the service is available. However, I noticed that

Re: jax-rs using netty doesn't seem to support "Expect: 100-continue"

2017-03-10 Thread Sergey Beryozkin
will see more Netty related queries going forward, so please stress this transport Cheers, Sergey On 10/03/17 13:02, martijn.list wrote: On 03/10/2017 01:18 PM, Sergey Beryozkin wrote: Hi It looks like it is a Netty specific issue, I just checked there was a fix provided only 9 days ago, https

Re: how to disable soap services

2017-03-10 Thread Sergey Beryozkin
pringframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd "> That's all, I don't think I've explicitly referenced or initialised and soap or wsdl services anyways. A

Re: jax-rs using netty doesn't seem to support "Expect: 100-continue"

2017-03-10 Thread Sergey Beryozkin
; out of the box. Is there something I'm missing in my configuration? Is it possible to enable "Expect: 100-continue" support? Kind regards, Martijn Brinkers PS I'm using CXF 3.0.12 -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Getting "ClassCastException: class org.apache.cxf.bus.spring.SpringBusFactory" for CXF/Spring app in Tomcat (TomEE)

2017-03-10 Thread Sergey Beryozkin
ry, even though I have supposedly correct settings to make TomEE only load CXF jars from the webapp ("openejb.classloader.forced-load=org.springframework,org.apache.cxf" in the "system.properties" file). I still don't have a complete answer, however. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Call "ClientBuilder.newBuilder().newClient()" or "ClientBuilder.newClient()"?

2017-03-09 Thread Sergey Beryozkin
(Book.class); - When I looked at the JAX-RS 2.0 javadoc, I noticed that ClientBuilder has both a "newBuilder()" method and a "newClient()" method. Can someone elaborate on this? -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: How to use JAX-RS ClientBuilder to post plain text?

2017-03-09 Thread Sergey Beryozkin
w me the required pieces to do this? -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: cxf:rsServer handle different methods into serviceClass

2017-03-06 Thread Sergey Beryozkin
iew this message in context: http://cxf.547215.n5.nabble.com/cxf-rsServer-handle-different-methods-into-serviceClass-tp593p5777800.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: cxf:rsServer handle different methods into serviceClass

2017-03-06 Thread Sergey Beryozkin
rent-methods-into-serviceClass-tp593.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Is it possible to use the JAX-RS Client API to go through an SSL-secured Proxy with authentication?

2017-03-01 Thread Sergey Beryozkin
end server through the proxy. According to the user, the JAX-RS client does not add a valid Proxy-Authorization header field to the request. Is this scenario possible with CXF? Any hints for how to make it work? Thanks in advance, Andy -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF and semantic versioning

2017-02-21 Thread Sergey Beryozkin
Hi Ray, On 21/02/17 16:53, Raymond Auge wrote: Hello everyone, This is my first post to the list. So thank you in advance for all your hard work and very good product. However, I have a question about semantic versioning of CXF. In our project we are using CXF (piecemeal). However when we

Re: NPE when running on Tomcat8

2017-02-21 Thread Sergey Beryozkin
I haven't seen any issues in running CXF in Tomcat 8, we've had it added to the actual war, looks like you put CXF into the common lib folder ? If yes, how did you patch it for the given resource be loaded if it is 'null', did you delegate to the system loader ? Thanks, Sergey On 20/02/17

Re: CXF 2.7.8: Content-Type value and Headers.content-type value doesn´t match in logs

2017-02-20 Thread Sergey Beryozkin
], content-type=[application/json], Host=[localhost:9001], Pragma=[no-cache], User-Agent=[Apache-CXF/3.2.0-SNAPSHOT]} Perhaps it was a 2.7.x 'feature' - can you please try CXF 3.0.x ? Cheers, Sergey On 16/02/17 20:36, Jose María Zaragoza wrote: 2017-02-16 14:09 GMT+01:00 Sergey Beryozkin <sber

Re: CXF 2.7.8: Content-Type value and Headers.content-type value doesn´t match in logs

2017-02-16 Thread Sergey Beryozkin
/2.1.0 (Linux; U; Android 6.0.1; SM-G900F Build/MMB29M)]} Payload: { ... } Look at Content-Type value and Headers.content-type value: they don't match !! Why ? Should they be the same value ? In this case, I accept the request Thanks and regards -- Sergey Beryozkin Talend Community Coders

Re: FIQL with objects containing Collection

2017-02-14 Thread Sergey Beryozkin
Hi Sorry for a delay. As far as dealing with the collections is concerned what is generally supported is finding an element with the collections containing some matching values, for example, the following test was contributed to CXF recently:

Re: CXF wsdl2java docs - improvements

2017-02-03 Thread Sergey Beryozkin
Sorry, checked the wrong list :-), your ICLA submission is recorded, Dan added you earlier to the list of wiki contributors, please start editing Thanks, Sergey On 03/02/17 16:25, Sergey Beryozkin wrote: Hi I just checked, no 'jfiala' is recorded in the ICLAs list at Apache, Can you please

Re: CXF wsdl2java docs - improvements

2017-02-03 Thread Sergey Beryozkin
Hi I just checked, no 'jfiala' is recorded in the ICLAs list at Apache, Can you please submit ICLA and also create a Confluence account ? Thanks, Sergey On 03/02/17 14:41, J. Fiala wrote: Hi there, I found two minor issues regarding the docs: http://cxf.apache.org/docs/wsdl-to-java.html

Re: YASMIN - Yet Another jSon Message notatIoN

2017-02-01 Thread Sergey Beryozkin
Sorry, will copy this to the JIRA :-) thanks, Sergey On 01/02/17 16:35, Sergey Beryozkin wrote: The question is, given a custom bean, like MyDocument (which may have some properties), how to intercept the JSON serialization process, so that the signature can be calculated on the flight

Re: YASMIN - Yet Another jSon Message notatIoN

2017-02-01 Thread Sergey Beryozkin
2-01 14:07, Sergey Beryozkin wrote: Hi Anders Thanks for sharing the link to a new scheme :-) FYI, as far as CXF is concerned, CXF users do all sort of services, SOAP, pure REST, or simply HTTP with whatever communication scheme they prefer :-). As far as YASMIN is concerned from the prospect

Re: YASMIN - Yet Another jSon Message notatIoN

2017-02-01 Thread Sergey Beryozkin
Hi Anders Thanks for sharing the link to a new scheme :-) FYI, as far as CXF is concerned, CXF users do all sort of services, SOAP, pure REST, or simply HTTP with whatever communication scheme they prefer :-). As far as YASMIN is concerned from the prospect of having something like that

Re: CXF overriding Content-Transfer-Encoding in MTOM attachement 7bit and 8bit

2017-01-30 Thread Sergey Beryozkin
for JAX-WS) Sergey On 30/01/17 12:33, Rodney Kite wrote: How do I override the handleMessage if I don't extend it? I left out the constructor. public EntAttachmentOutInterceptor() { super(); } From: Sergey Beryozkin <sberyoz...@gmail.com> To: users@cxf.apache.org

Re: CXF overriding Content-Transfer-Encoding in MTOM attachement 7bit and 8bit

2017-01-30 Thread Sergey Beryozkin
Content-ID: <f059a2f0-585e-475b-bf00-90adb744bcb3-3@urn:us:gov:treasury:irs:common> Content-Disposition: attachment; name="1094C_Request_BBBLP_20170130T040244203Z.xml" Removed Stuff --uuid:4b92f285-b0d8-49d3-9b9e-b7d8067a124c-- -- ThanksRodney -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: swagger2feature do not see javadocs ?

2017-01-27 Thread Sergey Beryozkin
, Sergey On 27/01/17 12:29, Vjacheslav V. Borisov wrote: Hi, cleaned up (no more runtime weaving) + tomcat7-maven-plugin (integration test) 2017-01-27 14:27 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>: Thanks for preparing it, Can you please add a Jetty or Tomcat plugin which can b

Re: swagger2feature do not see javadocs ?

2017-01-27 Thread Sergey Beryozkin
weaving support, some classes are missing, etc) Cheers, Sergey On 25/01/17 05:31, Vjacheslav V. Borisov wrote: This is example project https://github.com/slavb18/testjavadoc 2017-01-24 16:28 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>: Sure, I see what you mean, I did not

Re: Jaxrs provider to serialize outgoing payload

2017-01-26 Thread Sergey Beryozkin
...@gmail.com> wrote: MessageBodyWriter<List> doesn't work :(( Can I set breakpoint somewhere to debug this? On Fri, Jan 27, 2017 at 12:30 AM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Hi, I won;t have time to investigate it now, but I;d say you'll have to type it as MessageBod

Re: Jaxrs provider to serialize outgoing payload

2017-01-26 Thread Sergey Beryozkin
/3.2.x/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/CalendarWebService.java#L97 On Fri, Jan 27, 2017 at 12:24 AM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: It may not be selected, depends on what type is returned, what media type is set as a response content t

Re: Jaxrs provider to serialize outgoing payload

2017-01-26 Thread Sergey Beryozkin
missing any specific configuration? On Fri, Jan 27, 2017 at 12:12 AM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Yes, ParamConverter works out only on the client side and in only on the server side, it is dedicated to a simple conversion of request URI or header parameters (@PathParam, Quer

Re: Jaxrs provider to serialize outgoing payload

2017-01-26 Thread Sergey Beryozkin
need to create the class like this: http://memorynotfound.com/jax-rs-messagebodywriter/ And add it as spring bean and it will handle output? Why I was thought ParamConverter should convert to both sides: it has 2 methods: fromString and toString On Thu, Jan 26, 2017 at 11:59 PM, Sergey Beryozkin

Re: Jaxrs provider to serialize outgoing payload

2017-01-26 Thread Sergey Beryozkin
com/apache/openmeetings/blob/3.2.x/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/CalendarWebService.java#L97 -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF overriding Content-Transfer-Encoding in MTOM attachement

2017-01-26 Thread Sergey Beryozkin
that exists in message.get(Message.CONTENT_TRANSFER_ENCODING) in the handleMessage function. ThanksRodney From: Sergey Beryozkin <sberyoz...@gmail.com> To: users@cxf.apache.org Sent: Wednesday, January 25, 2017 6:55 AM Subject: Re: CXF overriding Content-Transfer-Encoding i

Re: CXF overriding Content-Transfer-Encoding in MTOM attachement

2017-01-25 Thread Sergey Beryozkin
Hi Not sure about CXF 3.0.6, but the latest code shows that AttachmentOutInterceptor checks a message contextual property, Message.CONTENT_TRANSFER_ENCODING, and if it is set it propagates it to AttachmentSerializer Try the latest CXF 3.0.x Sergey On 25/01/17 06:34, Rodney Kite wrote:

Re: swagger2feature do not see javadocs ?

2017-01-24 Thread Sergey Beryozkin
("Point.html") - e.g. this is working, can get javadoc of class 2017-01-23 16:49 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>: Hi Freeman did it for a java2wadl, where JavaDocs info gets collected during the build time, but at the runtime JavaDocs are only visible from the ded

Re: Limit JAX-RS Spring component scan to certain packages

2017-01-23 Thread Sergey Beryozkin
:34, Dennis Kieselhorst wrote: Hi Sergey! Sergey Beryozkin wrote Or do you see it picking up proxies ? Exactly. If I have a JAXRSClientFactoryBean with an JAX RS annotated interface as serviceClass this will be picked up. I can create an example application if needed. Cheers Dennis

Re: A Critical Analysis of REST APIs for "Transaction Systems"

2017-01-23 Thread Sergey Beryozkin
: On 2017-01-23 13:41, Sergey Beryozkin wrote: Hi Anders, thanks for sharing the link, an interesting read, would be great to have a CXF JCS module eventually, may be we can find the time for doing it this year :-) Hi Sergey, I have given it a thought but I think even more useful (but also much more

Re: cxf-java2wadl-plugin not generating resource to grammar mapping

2017-01-23 Thread Sergey Beryozkin
... (snip stop) Just like the example on w3c: https://www.w3.org/Submission/wadl/#x3-34000A If there are no links between resource methods and parameters when how usefull can a wadl be then? -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: swagger2feature do not see javadocs ?

2017-01-23 Thread Sergey Beryozkin
/rt/rs/ description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/ DefaultSwagger2Serializers.java#L198-L217 -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: A Critical Analysis of REST APIs for "Transaction Systems"

2017-01-23 Thread Sergey Beryozkin
Hi Anders, thanks for sharing the link, an interesting read, would be great to have a CXF JCS module eventually, may be we can find the time for doing it this year :-) Cheers, Sergey On 22/01/17 16:14, Anders Rundgren wrote: Maybe of some interest...

Re: Limit JAX-RS Spring component scan to certain packages

2017-01-23 Thread Sergey Beryozkin
Hi Dennis On 22/01/17 20:03, Dennis Kieselhorst wrote: Hi Sergey, thanks for the feedback. You're right the beans are annotated with Spring annotations, this is needed to have the clients injected to other classes. If I remove the annotation, autowiring will be no longer possible. I agree that

Re: Streaming xml parsing

2017-01-19 Thread Sergey Beryozkin
in input ("Request Streaming") ? -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Does it possible to run swagger.json generation from command line

2017-01-18 Thread Sergey Beryozkin
Hi Not in CXF at the moment, one should be able to create it with Swagger project tools. I agree it would be useful to have a Maven plugin or java2swagger CXF tool, similar to what we have with WADL... Sergey On 18/01/17 11:07, Vjacheslav V. Borisov wrote: Hi! Does it possible to run

Re: xml namespace not generated in swagger.json generated by swagger2feature

2017-01-17 Thread Sergey Beryozkin
Hi I've always been thinking Swagger can only describe JSON payloads which would have no namespaces. Unless some trick exists which I'm unaware of Sergey On 17/01/17 15:44, Vjacheslav V. Borisov wrote: Hi! Playng again with swagger2feature and notice that definitions of jaxb objects do not

Re: No JSON depth control with Badgerfish

2017-01-16 Thread Sergey Beryozkin
*permissions to edit CXF doc pages*? (My login on Confluence: *cdangerv *) Regards, Cyril On Thu, Jan 12, 2017 at 7:21 PM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Hi BadgerFish is not really supported any longer at the Jettison level, though as I indicated awhile back if the users will

Re: @Scopes annotation not working for method

2017-01-13 Thread Sergey Beryozkin
g.apache.cxf cxf-rt-rs-security-cors 3.1.9 org.apache.cxf cxf-rt-frontend-jaxrs 3.1.5 org.apache.cxf cxf-rt-rs-service-description 3.1.5 -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: SOAP w. Att. Content-type header, action parameter issue

2017-01-13 Thread Sergey Beryozkin
from CXF team. We really need to know is it an issue and will be fixed soon, or it is a change in handling according to some regulations - then we will have to take other steps. Regards, Dmitri Четверг, 12 января 2017, 19:17 +01:00 от Sergey Beryozkin <sberyoz...@gmail.com>: Hi This

Re: Limit JAX-RS Spring component scan to certain packages

2017-01-13 Thread Sergey Beryozkin
scope restrictions... But if you remove @Component from the resources then the list of packages will be enforced, CXF Spring scan utility will discover the Classes and thus the packages can be enforced Sergey On 12/01/17 18:31, Sergey Beryozkin wrote: Hi Dennis, Are you annotating

Re: receiveTimeout ignored since 3.1.9?

2017-01-13 Thread Sergey Beryozkin
please provide a runnable testcase as we can’t reproduce this on our side. You can create a jira ticket and attach your testcase there. Thanks - Freeman(Yue) Fang Red Hat, Inc. FuseSource is now part of Red Hat On Jan 12, 2017, at 9:52 PM, Sergey Beryozkin <sberyoz...@gmail.

Re: Limit JAX-RS Spring component scan to certain packages

2017-01-12 Thread Sergey Beryozkin
Hi Dennis, Are you annotating these resources as @Component/@Service ? Cheers, Sergey On 05/01/17 09:50, Dennis Kieselhorst wrote: Hi, I have an application that exposes some JAX-RS resources and uses some JAX-RS clients to access backend systems. The application is configured with

Re: No JSON depth control with Badgerfish

2017-01-12 Thread Sergey Beryozkin
eSeparator, primitiveArrayKeys, getDepthProperties(), enc); } reader = createTransformReaderIfNeeded(reader, is); return reader; } -- Sergey Beryozkin Talend

Re: SOAP w. Att. Content-type header, action parameter issue

2017-01-12 Thread Sergey Beryozkin
this difference we getting failure from our integration partner: "A header representing a Message Addressing Property is not valid and the message can not be processed". Dear contributors, can you please let me know if this change was done by failure or it is a right way of

Re: receiveTimeout ignored since 3.1.9?

2017-01-12 Thread Sergey Beryozkin
//expected!!! } } Not sure what’s the real problem Veit run into, I will try to reproduce the error. - Freeman(Yue) Fang Red Hat, Inc. FuseSource is now part of Red Hat On Jan 12, 2017, at 8:42 PM, Sergey Beryozkin <sberyoz...@gmail.com <mailto:sberyoz...@gmail.com&g

Re: Client generation based on swagger.json generated by swagger2feature

2017-01-12 Thread Sergey Beryozkin
"externalDocs": { "description": "Find out more about our store", "url": "http://swagger.io; } }], And every method bound to tag Should swagger2feature also generate [tags] section based on number of root resources and link every method to one of root resources? -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: receiveTimeout ignored since 3.1.9?

2017-01-12 Thread Sergey Beryozkin
past it failed as expected. I also switched to another endpoint that takes a bit longer to respond but with the same effect. Going back to 3.1.8 fixes the issue. I took a look at the recent changes and found this: https://issues.apache.org/jira/browse/CXF-7122 Maybe it is related to it? Thanks!

Re: java.lang.NoClassDefFoundError: JSONSequenceTooLargeException

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

Re: Swagger2Feature and json extension in jaxrs:extensionMappings

2016-12-19 Thread Sergey Beryozkin
Hi I've fixed it, thanks Sergey On 19/12/16 11:14, Vjacheslav V. Borisov wrote: Hi! Looks like Swagger2Feature conflicts with jaxrs:extensionMappings E.g. when I have Then I cannot request swagger.json, i am getting 404, becouse it tries to find resource

Re: Page with list of all services

2016-12-08 Thread Sergey Beryozkin
to be not top priority for both of us :))) On second thoughts http://localhost:8080/services/services is good enough Let it be as is :) On Wed, Sep 21, 2016 at 11:26 PM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Hi Max Haven't had the time to prioritize, but as I said earlier, most

Re: cxf-rt-rs-service-description & cxf-java2wadl-plugin: How To

2016-12-08 Thread Sergey Beryozkin
source method but there's no visible changes in the wadl / services list page. WADLGenerator needs to be configured with a doc provider which will load the generated javadocs. java2wadl can collect them at the build time... Thanks, Sergey I appreciate your time and many thanks in advance. Ch

Re: Unable to set "keep-Alive:timeout=" inside CXF header

2016-12-07 Thread Sergey Beryozkin
547215.n5.nabble.com/file/n5775584/proxy_capture.jpg> - -- View this message in context: http://cxf.547215.n5.nabble.com/Unable-to-set-keep-Alive-timeout-duration-inside-CXF-header-tp5775413p5775584.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozki

Re: JAX-WS broken on Swa messages? CXF-7131

2016-11-23 Thread Sergey Beryozkin
Hi Diego While it is probably fair to say a JAX-WS with SWA is not the most widely feature these days, the real reason no immediate fix is coming is that we do not have that many resources. CXF users often help with their own patches. Please consider providing a fix... Sergey On 22/11/16

Re: Microservice multipe version support in single WAR-file / multiple Swagger2Feature-Beans

2016-11-20 Thread Sergey Beryozkin
provide the currently not working sample if you like for more analysis. Best regards, Johannes -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Swagger-UI webjar for Non-Spring-Boot usage

2016-11-20 Thread Sergey Beryozkin
EAP 7 Swagger-UI is not auto-linked and not showing up. Best regards, Johannes Am 18.11.2016 um 22:34 schrieb Sergey Beryozkin: Hi Johannes It is def not targeting SpringBoot only... One thing I recall that in CXF 3.1.7 Swagger UI was not being auto-linked too in Spring boot jar packages which

Re: CXF BeanValidation annotation support

2016-11-18 Thread Sergey Beryozkin
more, I'll rethink this and then come back to you :). Thanks & Best regards, Johannes Am 18.11.2016 um 22:17 schrieb Sergey Beryozkin: Hi Johannes As I said we've discussed all the options in depth twice and as far as I recall we eve came to some conclusion with respect to an approach w

Re: Swagger-UI webjar for Non-Spring-Boot usage

2016-11-18 Thread Sergey Beryozkin
on an external AS or is this webjar integration simply only intended for Spring Boot? Thank you & Best regards, Johannes -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF BeanValidation annotation support

2016-11-18 Thread Sergey Beryozkin
Sorry one more typo fix, Enforcing the presence of 'a' effectively makes your top level API being not "/bar" but "/bar?a=..." which is not good IMHO. Providing some top level support in CXF does seem to me a good investment of time. ... does not seem...

Re: CXF BeanValidation annotation support

2016-11-18 Thread Sergey Beryozkin
can make this cross-framework in a way that makes sense for portability. Best regards, Johannes Am 08.11.2016 um 12:33 schrieb Sergey Beryozkin: And finally, I'm not saying inlining XML schema fragments is going nowhere, if you are passionate about this particular approach then please try to g

Re: Automatic client-side beanvalidation?

2016-11-18 Thread Sergey Beryozkin
, Johannes Am 15.11.2016 um 17:38 schrieb Sergey Beryozkin: Hi Johannes Sorry, was under a time pressure on Mon eve, Is Object really required to enable the validation of the method ? Sorry, I know the individual (entity) bean can be easily validated but not sure if providing the object

Re: Configuring Jetty connector

2016-11-16 Thread Sergey Beryozkin
of Connectors from Java as opposed to Spring. Could someone please remind me? -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Automatic client-side beanvalidation?

2016-11-15 Thread Sergey Beryozkin
parameters, it def has a method for validating the entity only, .validateBean(). Sergey On 14/11/16 21:52, Sergey Beryozkin wrote: This Object is a proxy. Please focus on validating the request parameters only. And simply create a local final var with the same property Sergey On 14/11/16 21

Re: Automatic client-side beanvalidation?

2016-11-14 Thread Sergey Beryozkin
, it def has a method for validating the entity only, .validateBean(). Sergey On 14/11/16 21:52, Sergey Beryozkin wrote: This Object is a proxy. Please focus on validating the request parameters only. And simply create a local final var with the same property Sergey On 14/11/16 21:35, J

Re: Automatic client-side beanvalidation?

2016-11-14 Thread Sergey Beryozkin
} } } Pls let me know if I should add a PR for this (on separate branch client_beanvalidation) or if you are going to add it yourself ... Thank you & Best regards, Johannes Am 14.11.2016 um 13:08 schrieb Sergey Beryozkin: Hi I've updated ClientProxyImpl to pass them as a "method.para

Re: Automatic client-side beanvalidation?

2016-11-14 Thread Sergey Beryozkin
ethod invocation, before the message has been assembled to query/path/body params etc. Best regards, Johannes Am 24.10.2016 um 17:04 schrieb Sergey Beryozkin: Hi I guess it can be interesting to support an optional client side bean validation for the proxy clients as they have all the bean valida

Re: Swagger2Feature - Enabling Swagger UI / Spring Boot CXF starter default path

2016-11-11 Thread Sergey Beryozkin
BarCamp, I can be there in the morning? Best regards, Johannes Am 11.11.2016 um 17:09 schrieb Sergey Beryozkin: Hi Johannes. You are doing something quite big there with Swagger CodeGen, thanks, - unfortunately I'll miss next Friday presentations - but please show you demo to me on Wed/Thursday

Re: Swagger2Feature - Enabling Swagger UI / Spring Boot CXF starter default path

2016-11-11 Thread Sergey Beryozkin
added this for the next Swagger-Codegen release so Swagger-UI can be activated with CLI options: PR https://github.com/swagger-api/swagger-codegen/pull/4164 Best regards, Johannes Am 11.11.2016 um 16:33 schrieb Sergey Beryozkin: Hi Johannes On 11/11/16 14:58, Johannes Fiala wrote: Hi there, http

Re: Swagger2Feature - Enabling Swagger UI / Spring Boot CXF starter default path

2016-11-11 Thread Sergey Beryozkin
Hi Johannes On 11/11/16 14:58, Johannes Fiala wrote: Hi there, http://cxf.apache.org/docs/swagger2feature.html 1.) I found a minor bug in the docs when trying the Swagger-UI feature: The flag supportSwaggerUi is present in the Swagger2Feature.java in CXF 3.1.7, but not writable with a setter.

Re: Scalability of Async CXF for JAX-RS

2016-11-09 Thread Sergey Beryozkin
Hi As far as JAX-RS 2.0 AsyncResponse is concerned, I don't think WorkQueue is involved at all. CXF itself definitely does not create a thread of its own when dealing @Suspended AsyncResponse methods. Chuck, did you refer to the client side by any chance ? Cheers, Sergey On 09/11/16 00:59,

Re: CXF supports clients in other languages? Then provide samples!

2016-11-08 Thread Sergey Beryozkin
wrote: Hi Sergey, I created the account "jfiala". Will changes be published immediately or is there an approval workflow so you can review my proposed changes? Best regards, Johannes Am 08.11.2016 um 18:18 schrieb Sergey Beryozkin: Hi Johannes Ok, can you please create a CWi

Re: CXF supports clients in other languages? Then provide samples!

2016-11-08 Thread Sergey Beryozkin
Hi Johannes Ok, can you please create a CWiki account with a 'jfiala' id ? Cheers, Sergey On 08/11/16 17:10, J. Fiala wrote: Hi Sergey, I'd prefer jfx or jfiala. Best regards, Johannes Am 08.11.2016 um 18:01 schrieb Sergey Beryozkin: Hi Johannes, what is your preferred login id ? Cheers

Re: CXF supports clients in other languages? Then provide samples!

2016-11-08 Thread Sergey Beryozkin
Hi Johannes, what is your preferred login id ? Cheers, Sergey On 07/11/16 15:48, Sergey Beryozkin wrote: Hi Johannes We'll try to enable the access this week, will update you once it is done Thanks, Sergey On 06/11/16 21:58, J. Fiala wrote: Hi Sergey, Should we add a link to the docs

Re: CXF BeanValidation annotation support

2016-11-08 Thread Sergey Beryozkin
. But in meantime I'd like to encourage you to review Option 1 & 2 I listed earlier deeper. IMHO Option1 has a higher chance of getting an eventual wider adoption (with a diff namespace of course) Cheers, Sergey On 08/11/16 11:22, Sergey Beryozkin wrote: Hi Johannes I'd like to cla

Re: CXF BeanValidation annotation support

2016-11-08 Thread Sergey Beryozkin
nly compromise you'd have to make is to have non-simple parameter types in the signature and register ParamConverterProvider. This is still a perfectly valid JAX-RS 2.0. Cheers, Sergey On 08/11/16 10:25, Sergey Beryozkin wrote: Hi On 07/11/16 22:52, J. Fiala wrote: Hi Sergey, I think we sho

Re: CXF BeanValidation annotation support - WadlGenerator

2016-11-08 Thread Sergey Beryozkin
the custom tag for the complexTypes/JAXB-processing... If you agree with that, I suggest setting up two separate Jira issues so we can move all the further comments there. What do you think of this idea? Best regards, Johannes Am 07.11.2016 um 22:12 schrieb Sergey Beryozkin: Perhaps you can

Re: CXF BeanValidation annotation support

2016-11-08 Thread Sergey Beryozkin
Jira issues so we can move all the further comments there. What do you think of this idea? Best regards, Johannes Am 07.11.2016 um 22:12 schrieb Sergey Beryozkin: Perhaps you can start with supporting a not null only ? If a parameter @required is set (this can be enabled on the WADL to Java

Re: CXF BeanValidation annotation support

2016-11-07 Thread Sergey Beryozkin
of the BeanValidation for now until we figure our a neater approach to avoid the strong BeanVal dependencies Cheers, Sergey On 07/11/16 21:08, Sergey Beryozkin wrote: Hi Johannes Option 2 already works in the WADL to Java case. The only problem with it, as discussed earlier, is that WADL

Re: CXF BeanValidation annotation support

2016-11-07 Thread Sergey Beryozkin
Sergey Beryozkin: Hi Johannes I've looked through various messages and pull requests. One approach was to insert incomplete schema fragments into wadl:param with the implicit understanding it was meant to create BeanVal parameters and I felt quite uncomfortable about pursuing that particular path

Re: CXF BeanValidation annotation support

2016-11-07 Thread Sergey Beryozkin
AXB schema gen to add the relevant schema definitions. My preference is option 1). We can discuss the options next week too, Thanks, Sergey On 06/11/16 22:25, Sergey Beryozkin wrote: Hi Johannes Can you please briefly summarize the proposed changes to WADLGen & SourceGen ? There've be

Re: CXF supports clients in other languages? Then provide samples!

2016-11-07 Thread Sergey Beryozkin
ents-in-other-languages-Then-provide-samples-tp5774606.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF BeanValidation annotation support

2016-11-06 Thread Sergey Beryozkin
2:58 schrieb Sergey Beryozkin: Hi Johannes I'd say the WADL-related updates should be limited to WADLGen/SourceGen Cheers, Sergey On 06/11/16 21:46, J. Fiala wrote: Hi Sergey, I can ask him or simply do a fork of the complete project and then cover it under the Apache license provided the author ag

Re: CXF BeanValidation annotation support

2016-11-06 Thread Sergey Beryozkin
think further BeanValidation extensions for CXF should also go there and I should subclass the WadlGenerator/SourceGenerator? Or shall we merge this at the Hackathon at ApacheCon maybe? Best regards, Johannes Am 06.11.2016 um 22:40 schrieb Sergey Beryozkin: Hi Johannes Would it make sense asking

Re: CXF BeanValidation annotation support

2016-11-06 Thread Sergey Beryozkin
Hi Johannes Would it make sense asking the author to give you the commit rights to the project ? IMHO it can't go to the CXF master though perhaps an option of opening a CXF sub-project is viable which will need to be discussed on the CXF dev list. Whether it will stay where it is now or end

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

2016-10-25 Thread Sergey Beryozkin
ell the proxy client that if it is a boolean optional property then do optimize - most likely it will require a property... Cheers, Sergey On 25/10/16 22:49, Sergey Beryozkin wrote: Hi Christian JAX-RS UriBuilder will produce something like "/a;b" if one only supplies a matri

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

2016-10-25 Thread Sergey Beryozkin
I have currently no requirement for this, though - I just wanted to know if it can be done with cxf. I take it the answer is "no", then? :-) Brgrds, Christian On Tue, Oct 25, 2016 at 11:49 AM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Hi I think it is an optimization as oppose

Re: WADL not available in OSGi

2016-10-25 Thread Sergey Beryozkin
Christian, I've tried with TESB 6.3.0-SNAPSHOT (jaxrs_intro), WADL is returned Sergey On 25/10/16 15:37, Gary Gregory wrote: Make sure Xalan is on the endorsed class path. Gary On Oct 25, 2016 7:21 AM, "Christian Schneider" wrote: I got a problem from a customer.

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

2016-10-25 Thread Sergey Beryozkin
May be I can add a property to support authorization retransmits without WWW-Authenticate Sergey On 25/10/16 12:42, Sergey Beryozkin wrote: Well, WWW-Authenticate is there to indicate to the client that the Authorization needs to be completed, this is standard HTTP. 401 alone can mean anything

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