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 lo

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, Se

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 with no

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
treated 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 wrote: I deployed the related CXF 3.1.11-SNAPSHOT modules, so

Re: Singleton JAX-RS resource

2017-03-13 Thread Sergey Beryozkin
es (so 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" wrote: Hi On 12/03/17 06:37, Aruna Kalagnanam wr

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 sc

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 I

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

2017-03-10 Thread Sergey Beryozkin
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
s http://cxf.apache.org/schemas/jaxrs.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd "> That's all, I don't think I&#x

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
7;s WEB-INF/lib and the container's "lib" directory, 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
r.get(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
Can someone show 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
-- View 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
erent-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
ation 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 upg

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 14:4

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

2017-02-20 Thread Sergey Beryozkin
alive], 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 Beryo

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

2017-02-16 Thread Sergey Beryozkin
, user-agent=[Dalvik/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

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: https://github.com/apache/cxf/blob/master/rt/rs/

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

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 1.)

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 and the

Re: YASMIN - Yet Another jSon Message notatIoN

2017-02-01 Thread Sergey Beryozkin
017-02-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 pro

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 don

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 To: users@cxf.apache.org Sent: Monday, Janua

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

2017-01-30 Thread Sergey Beryozkin
me="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
d Cheers, 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 : Thanks for preparing it, Can you please add a Jetty or Tomcat plugin which can be used to run the de

Re: swagger2feature do not see javadocs ?

2017-01-27 Thread Sergey Beryozkin
time 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 : Sure, I see what you mean, I did not think of it at a time. If you

Re: Jaxrs provider to serialize outgoing payload

2017-01-26 Thread Sergey Beryozkin
ik" wrote: MessageBodyWriter> doesn't work :(( Can I set breakpoint somewhere to debug this? On Fri, Jan 27, 2017 at 12:30 AM, Sergey Beryozkin wrote: Hi, I won;t have time to investigate it now, but I;d say you'll have to type it as MessageBodyWriter> give it a try please Cheers, S

Re: Jaxrs provider to serialize outgoing payload

2017-01-26 Thread Sergey Beryozkin
ob/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 wrote: It may not be selected, depends on what type is returned, what media type is set as a response content type, can you provide more info ?

Re: Jaxrs provider to serialize outgoing payload

2017-01-26 Thread Sergey Beryozkin
Am I missing any specific configuration? On Fri, Jan 27, 2017 at 12:12 AM, Sergey Beryozkin 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, QueryParam, MatrixParam, C

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
s no value that exists in message.get(Message.CONTENT_TRANSFER_ENCODING) in the handleMessage function. ThanksRodney From: Sergey Beryozkin To: users@cxf.apache.org Sent: Wednesday, January 25, 2017 6:55 AM Subject: Re: CXF overriding Content-Transfer-Encoding in MTOM attachement Hi

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: I'm

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 : 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 dedicated jar. I do not know how

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
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
/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... https://cyberphone.github.io/doc/web/RES

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
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 swagge

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 wrote: Hi BadgerFish is not really supported any longer at the Jettison level, though as I indicated awhile back if the users will create BadgerFish related

Re: @Scopes annotation not working for method

2017-01-13 Thread Sergey Beryozkin
return requestFilter;}public OAuthScopesFilter oauthScopesFilter(){ return new OAuthScopesFilter();} As you can see, I have added OAuthScopeFilter and OAuthRequestFilter in providers. This is my pom org.apache.cxf cxf-rt-rs-security-oauth2 3.1.9 org.apache.cxf cxf-rt-rs

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

2017-01-13 Thread Sergey Beryozkin
roblem. So I am looking forward to get a response 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 Be

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

2017-01-13 Thread Sergey Beryozkin
eak Spring 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 annota

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 mailto:sberyoz...@gmail.com

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 component

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
fo parameter. Because of 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

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 mailto:sberyoz...@gmail.com>> wrote

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
s. In the 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? Th

Re: java.lang.NoClassDefFoundError: JSONSequenceTooLargeException

2016-12-20 Thread Sergey Beryozkin
FoundError-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 "swagg

Re: Page with list of all services

2016-12-08 Thread Sergey Beryozkin
ms 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 wrote: Hi Max Haven't had the time to prioritize, but as I said earlier, most likely we'd ne

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

2016-12-08 Thread Sergey Beryozkin
avadoc for a resource 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 t

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

2016-12-07 Thread Sergey Beryozkin
ttp://cxf.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. -- Serge

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 08:

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

2016-11-20 Thread Sergey Beryozkin
Con. I can 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
Jboss 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

Re: CXF BeanValidation annotation support

2016-11-18 Thread Sergey Beryozkin
once 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 t

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
e doing / generating WADLs to see how we 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 th

Re: Automatic client-side beanvalidation?

2016-11-18 Thread Sergey Beryozkin
e for this? Best regards, 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 pro

Re: Configuring Jetty connector

2016-11-16 Thread Sergey Beryozkin
ction 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
idual 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/

Re: Automatic client-side beanvalidation?

2016-11-14 Thread Sergey Beryozkin
eters, 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
ranch 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.parameters" CXF Message property Thanks, Sergey. On 13/11/16

Re: Automatic client-side beanvalidation?

2016-11-14 Thread Sergey Beryozkin
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 validation annotations av

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/Thu

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

2016-11-11 Thread Sergey Beryozkin
Great, I 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 th

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 CWiki acco

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 log

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 do

Re: CXF BeanValidation annotation support

2016-11-08 Thread Sergey Beryozkin
e progress. 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

Re: CXF BeanValidation annotation support

2016-11-08 Thread Sergey Beryozkin
I outlined earlier. It already works on a WADL to Java a path. The only 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 Beryozki

Re: CXF BeanValidation annotation support - WadlGenerator

2016-11-08 Thread Sergey Beryozkin
next step would be to support 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 Serg

Re: CXF BeanValidation annotation support

2016-11-08 Thread Sergey Beryozkin
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 start with supporting a not null only ? If a parameter @r

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
m 18:13 schrieb 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

Re: CXF BeanValidation annotation support

2016-11-07 Thread Sergey Beryozkin
classes to a JAXBContext for the JAXB 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 WA

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

2016-11-07 Thread Sergey Beryozkin
e.com/CXF-supports-clients-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
um 22: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

Re: CXF BeanValidation annotation support

2016-11-06 Thread Sergey Beryozkin
o you 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 a

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 u

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

2016-10-25 Thread Sergey Beryozkin
s how to tell 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

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

2016-10-25 Thread Sergey Beryozkin
ke URLs to look pretty... ;-) 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 wrote: Hi I think it is an optimization

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. They define a REST service

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   >