Re: Async in OSGi / pax-web

2015-12-14 Thread Sergey Beryozkin
in karaf so I can probably go there. On Dec 14, 2015 12:00 PM, "Sergey Beryozkin" <sberyoz...@gmail.com> wrote: Hi Benson I suspect you may need to avoid depending on the default CXF HTTP Transport and deploy your bundle as a web bundle (with web.xml). Do you work

Re: jaxrs cxf deployment issues on weblogic 12c

2015-12-09 Thread Sergey Beryozkin
this message in context: http://cxf.547215.n5.nabble.com/jaxrs-cxf-deployment-issues-on-weblogic-12c-tp5742398p5763737.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: AW: [cxf-fediz] internal server (realm-b) error 500 in running simpleWebapp example

2015-12-08 Thread Sergey Beryozkin
Hi All It might be interesting to consider migrating Fediz IDP to CXF, while still keeping its Spring MVC and Security 'decoration' if preferred and delegating to the servlet container to manage the sessions. If one uses a CXF RP endpoint which can be deployed to any servlet container then

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

2015-12-06 Thread Sergey Beryozkin
FYI: https://issues.apache.org/jira/browse/CXF-6679 Sergey On 04/12/15 11:59, Sergey Beryozkin wrote: Hi Thanks for experimenting with CXF, https://issues.apache.org/jira/browse/CXF-6679 is open and I'm honestly not sure why it is not working because CXF itself does not consume that data

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

2015-12-04 Thread Sergey Beryozkin
he named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: MLHttpRequest cannot load

2015-12-04 Thread Sergey Beryozkin
.build(); } else { return Response.ok().build(); } } @GET @CrossOriginResourceSharing( allowOrigins = { "http://localhost:56696; }, allowCredentials = true, exposeHeaders = { "X-custom-3", "X-custom-4&

Re: MLHttpRequest cannot load

2015-12-03 Thread Sergey Beryozkin
161.85.91.7:9001/office/offices/123. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:56696' is therefore not allowed access. How to resolve this issue? -- Sergey Beryoz

Re: @BeanParam doesn't seem to support inheritance on client side

2015-12-03 Thread Sergey Beryozkin
goes wrong? Thanks Veit -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: How to generate episode file using wadl2java ?

2015-11-24 Thread Sergey Beryozkin
1/15 06:01, Vjacheslav V. Borisov wrote: 2015-11-23 16:32 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>: I've still decided to do a minor update, so that users can use a single extraarg: https://issues.apache.org/jira/browse/CXF-6690 May be not only XJC compiler argumens, but also wad

Re: How to generate episode file using wadl2java ?

2015-11-24 Thread Sergey Beryozkin
:00 Sergey Beryozkin <sberyoz...@gmail.com>: Well, knowing that "-episode sun-jaxb.episode" is expected to be provided to XJC as 2 params, it also becomes obvious how to do it without even changing CXF, -xjc-episode -xjcsun-jaxb.episode Thanks for the solution! Working (w

Re: How to generate episode file using wadl2java ?

2015-11-23 Thread Sergey Beryozkin
that a -verbose issue you brought in as part of talking about the 'episode' is another issue, so it is up to you if you'd like to pursue that issue further. On 23/11/15 11:25, Vjacheslav V. Borisov wrote: 2015-11-20 14:55 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>: -xjc-episo

Re: How to generate episode file using wadl2java ?

2015-11-23 Thread Sergey Beryozkin
rg: https://issues.apache.org/jira/browse/CXF-6690 Still not sure what to do about WADLToJava actually recognizing those episodes Sergey On 23/11/15 11:56, Sergey Beryozkin wrote: Well looks like I got it fixed after all, something like "-episode sun-jaxb.episode" needs to be further split

Re: How to generate episode file using wadl2java ?

2015-11-23 Thread Sergey Beryozkin
Well looks like I got it fixed after all, something like "-episode sun-jaxb.episode" needs to be further split into two parameters. I'll send a JIRA issue link once I'm done with it Sergey On 23/11/15 11:34, Sergey Beryozkin wrote: I've really no idea how 'episode' needs to

Re: How to generate episode file using wadl2java ?

2015-11-20 Thread Sergey Beryozkin
erate / use episode file using wadl2java? | 2015-11-18 20:23 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com <mailto:sberyoz...@gmail.com>>: Hi I wonder if you should do -xjc-episode sun-jaxb.episode something like that, try it please Sergey On 1

Re: How to generate episode file using wadl2java ?

2015-11-18 Thread Sergey Beryozkin
by: org.apache.cxf.tools.common.toolspec.parser.BadUsageException: Unexpected option: -verbose -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Do I have a service or don't I?

2015-11-17 Thread Sergey Beryozkin
Hi Benson May I assume the issue has been resolved :-) ? Sergey On 17/11/15 19:56, Benson Margulies wrote: Well, one of THOSE days. I need to remove all the @PATH annotations left over from these being subresources. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF JAX-RS client receives empty inputstream under load

2015-11-11 Thread Sergey Beryozkin
Or may be try Http client 4.3.6 versions, I saw Aki upgrading 3.0.x pom :-) Cheers, Sergey On 10/11/15 13:51, Sergey Beryozkin wrote: Hi Veit HTTPClient versions are different in CXF 3.1.x, in 3.1.x: 4.1 4.4.1 4.4.1 and in 3.0.x: 4.0.2 4.3.5 4.3.3 Please experiment with 3.1.x and may

Re: Aw: Re: CXF JAX-RS client receives empty inputstream under load

2015-11-11 Thread Sergey Beryozkin
. So it seems, that changes in the CXF code from 3.0.7 to 3.1.4 fixed it. Thanks for the feedback! Cheers Veit Gesendet: Mittwoch, 11. November 2015 um 10:57 Uhr Von: "Sergey Beryozkin" <sberyoz...@gmail.com> An: users@cxf.apache.org Betreff: Re: CXF JAX-RS client receives e

Re: CXF JAX-RS client receives empty inputstream under load

2015-11-10 Thread Sergey Beryozkin
, that the server sends the right amount of bytes to the client. But somehow the client doesn't seem to get them. I've isolated the error in a separate testcase to show the problem. If anyone is interested, I can provide the test project. Thanks Veit -- Sergey Beryozkin Talend Community Coders http

Re: ParamConverterProvider use with primitive types

2015-11-09 Thread Sergey Beryozkin
: http://cxf.547215.n5.nabble.com/ParamConverterProvider-use-with-primitive-types-tp5762566p5762744.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Bean validation 1, benson 0

2015-11-09 Thread Sergey Beryozkin
:424) at org.ops4j.pax.swissbox.core.BundleClassLoader.loadClass(BundleClassLoader.java:192) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at javax.el.FactoryFinder.newInstance(FactoryFinder.java:87) -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: ParamConverterProvider use with primitive types

2015-11-06 Thread Sergey Beryozkin
oString(Boolean arg0) { return null; } } -- View this message in context: http://cxf.547215.n5.nabble.com/ParamConverterProvider-use-with-primitive-types-tp5762566.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozk

Re: FIQL query validation

2015-11-04 Thread Sergey Beryozkin
Hi Thanks for experimenting with it, I've been actually keeping this thread in the 'priority' line because may be we can have Beanspector producing some default case-insensitive line that would be optionally used without the user having to build the map manually (unless aliases are used).

Re: UriInfo.getRequestUri().getHost() returns 'localhost' instead of '127.0.0.1'

2015-11-03 Thread Sergey Beryozkin
Hi Jesse On 02/11/15 22:15, Jesse White wrote: Hi Sergey, On 11/02/2015 03:59 PM, Sergey Beryozkin wrote: Does JAX-RS endpoint have an absolute URI address at the initialization time, if so how does it look like ? Our JAX-RS endpoint is initialized here: https://github.com/OpenNMS/opennms

Re: UriInfo.getRequestUri().getHost() returns 'localhost' instead of '127.0.0.1'

2015-11-02 Thread Sergey Beryozkin
Hi Does JAX-RS endpoint have an absolute URI address at the initialization time, if so how does it look like ? In HttpUtils.toAbsoluteUri there's a line which defaults to 'localhost' if it its 127.0.0.1 - I don't recall right now why but I vaguely remember I did it in order to address some

Re: FIQL query validation

2015-11-02 Thread Sergey Beryozkin
-tp5762439p5762481.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: JNDI lookups in CXFNonSpringServlet

2015-10-30 Thread Sergey Beryozkin
irect copy of the org.apache.cxf.transport.servlet.CXFNonSpringServlet class and to not add the org.apache.cxf.transport.servlet.ServletContextResourceResolver. When our external jndi server not available we are seeing less than one transaction per second, due to connection timeouts. Thanks Andy -- Sergey Beryozkin Talend Community C

Re: Jso-api/Katharsis.io

2015-10-30 Thread Sergey Beryozkin
able to find anything explaining how to register an instance of javax.ws.rs.Feature. Does anyone have any insights as to how this can be accomplished? Thank you, Sharif Ghazzawi -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Jso-api/Katharsis.io

2015-10-30 Thread Sergey Beryozkin
a Katharsis feature. No need to to it on the client side, just register it directly with 2.0 Client I'll look into having Features supported directly on the server time in meantime... Sergey On 30/10/15 15:48, Sergey Beryozkin wrote: Hi You can register it as a JAX-RS provider, in jaxrs:server

Re: FIQL query validation

2015-10-30 Thread Sergey Beryozkin
n context: http://cxf.547215.n5.nabble.com/FIQL-query-validation-tp5762439.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Failover for JAX-RS clients

2015-10-29 Thread Sergey Beryozkin
On Tue, Oct 27, 2015 at 9:01 AM, Sergey Beryozkin [via CXF] < ml-node+s547215n576231...@n5.nabble.com> wrote: Hi I've looked at a CXF JAX-RS Failover test - all the tests use GET, hmm... Are you saying that when the initial call is made, doChainedInvocation contains Content-Type bu

Re: DS/DOSGi/Providers

2015-10-28 Thread Sergey Beryozkin
Perhaps On Wed, Oct 28, 2015 at 8:19 AM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Hi Benson As far as I recall, DSW will check a 'providers' property, and it can be a list, an array, individual provider instance, or a String class name, something like that... WHere does t

Re: Apache CXF overriding the Content-Type when using WebClient for GET

2015-10-28 Thread Sergey Beryozkin
Thanks, Aparna -Original Message----- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: Tuesday, October 20, 2015 6:09 PM To: users@cxf.apache.org Subject: Re: Apache CXF overriding the Content-Type when using WebClient for GET Hi The overriding issue (well, there are actually cases when

Re: Claims based authentication with ApacheDS

2015-10-27 Thread Sergey Beryozkin
That also works for JAX-WS if needed... Colm may have more info about it, once he gets back... Sergey On 27/10/15 22:07, Sergey Beryozkin wrote: Hi I'm not sure if it is related but we have a claim-based access control, with the claims representing some attributes from a SAML token (which

Re: Problem switching JAX-RS @POST service method from using Jersey stack to using CXF stack

2015-10-27 Thread Sergey Beryozkin
pache.cxf.jaxrs.ext.multipart.ContentDisposition; import org.apache.cxf.jaxrs.ext.multipart.MultipartBody; Regards, Mark On Tue, Oct 27, 2015 at 9:45 AM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Hi Mark Sorry for a delay, I'm not seeing a 'fileinfo' part in the payload which

Re: Problem switching JAX-RS @POST service method from using Jersey stack to using CXF stack

2015-10-27 Thread Sergey Beryozkin
t org.apache.cxf.jaxrs.utils.JAXRSUtils.readFromMessageBody( JAXRSUtils.java:1291) at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameter( JAXRSUtils.java:824) at org.apache.cxf.jaxrs.utils.JAXRSUtils.processParameters( JAXRSUtils.java:787) at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.processRequest( JAXRSInInterceptor.java:212) at org.apache.cxf.jaxrs.interceptor.JAXRSInInterceptor.handleMessage( JAXRSInInterceptor.java:77) Trying to understand how, if possible, to only change the annotations on the method signature and still have the POST operation work under CXF. We have managed to have the GET operations working fine, but there are far less differences the GET operations are using mostly stack independent and rely on standard JAX-RS annotations anyway. Any insight from CXF experts would be appreciated... Thanks Mark -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Failover for JAX-RS clients

2015-10-27 Thread Sergey Beryozkin
5762219.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Apache CXF overriding the Content-Type when using WebClient for GET

2015-10-21 Thread Sergey Beryozkin
as you mentioned that this will be fixed in the coming release Thanks, Aparna -Original Message- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: Tuesday, October 20, 2015 6:09 PM To: users@cxf.apache.org Subject: Re: Apache CXF overriding the Content-Type when using WebClie

Re: Apache CXF overriding the Content-Type when using WebClient for GET

2015-10-20 Thread Sergey Beryozkin
Hi FYI, it is possible to disable CXF setting a CT by default in CXF 3.0.6 - and some work was done to ensure no CT is set for GET by default. What exactly does not work ? Can you clarify please Cheers, Sergey On 20/10/15 11:21, Khare, Aparna wrote: Dear Colleagues, I'm using

Re: Apache CXF overriding the Content-Type when using WebClient for GET

2015-10-20 Thread Sergey Beryozkin
m is the proxied endpoint(Third party api) would fail in case the Content-Type Header */* is set. To replicate the same I passed the same header in the REST client and it failed there as well .My only concern is that the Content-Type should not be passed by default . Thanks, Aparna -Orig

Re: Apache CXF overriding the Content-Type when using WebClient for GET

2015-10-20 Thread Sergey Beryozkin
is giving the same issue. Meanwhile I will try using AsyncHTTPConduit Thanks, Aparna -Original Message----- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: Tuesday, October 20, 2015 4:53 PM To: users@cxf.apache.org Subject: Re: Apache CXF overriding the Content-Type when using WebClient

Re: Aw: Re: @...Param and client proxy

2015-10-19 Thread Sergey Beryozkin
Uhr Von: "Sergey Beryozkin" <sberyoz...@gmail.com> An: users@cxf.apache.org Betreff: Re: @...Param and client proxy Hi Veit FYI, the nested BeanParams work OK now Re a client proxy restriction that if you set @BeanParam on a field, setter/getter is still needed. As I mentioned - th

Re: How CXF Handles APIs If those are not annotated with the @Path Variable ?

2015-10-19 Thread Sergey Beryozkin
w Person("Sumit6 Arora",21,"Lakshay6 Arora"); } } May you please tell me how Apache CXF works, if @Path not given like the case above or on other scenarios as well ? 'Sumit -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Using two javax @BeanParam beans in the same method signature results in InternalServerErrorException

2015-10-18 Thread Sergey Beryozkin
), but also CXF 3.1.3. While the best effort was made to have as many JAX-RS 2.0 features be available to CXF 2.7.x users as possible, it it possible the relevant implementation in 2.7.x is less robust Thanks, Sergey On 16/10/15 11:42, Sergey Beryozkin wrote: Hi Christian Thanks for reporting

Re: Using two javax @BeanParam beans in the same method signature results in InternalServerErrorException

2015-10-16 Thread Sergey Beryozkin
Hi Christian Thanks for reporting it - I'll look into it shortly. Multiple BeanParams in a single signature are allowed indeed Cheers, Sergey On 16/10/15 11:32, Christian Balzer wrote: Hello all, We are using Spring and Apache CXF. For the following example code, I get an exception. Which

Re: How to use FIQL without SearchContext?

2015-10-15 Thread Sergey Beryozkin
thread or attach ParamConverterProvider to FiqlParser? -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: How to use FIQL without SearchContext?

2015-10-15 Thread Sergey Beryozkin
captures a given query into a typed construct to a thread worker as opposed to passing a raw query and starting converting inside a thread worker ? Cheers, Sergey 2015-10-15 15:33 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>: Hi Can you use SearchContext to prepare SearchCon

Re: Fwd: Static resource STATIC_RESOURCES_MAP_RESOURCE

2015-10-12 Thread Sergey Beryozkin
5, 2015 at 8:58 AM Subject: Re: Static resource STATIC_RESOURCES_MAP_RESOURCE To: Sergey Beryozkin <sberyoz...@gmail.com <mailto:sberyoz...@gmail.com>> Hi Sergey, Thanks for the reply. Actually I have customized the CXFServlet and CXFNonSpringServlet a bit for my use case. I

Re: About the Swagger feature (and an extension proposal)

2015-10-09 Thread Sergey Beryozkin
It is already configurable, thanks. I can also move DocumentationProvider to a .model. subpackage, to avoid having references to .wadl. in Swagger features :-) Cheers, Sergey On 09/10/15 11:28, Sergey Beryozkin wrote: Yeah, I guess we just should make both options (re-grouping and enriching

Re: @...Param and client proxy

2015-10-09 Thread Sergey Beryozkin
cost would rise. Lets say the issue of lifting the restriction is still open :-) Thanks Sergey On 04/10/15 21:39, Sergey Beryozkin wrote: On 04/10/15 18:44, Veit Guna wrote: Alright. Thanks for the quick feedback! May I create a ticket for that? Sure, please do open JIRA tickets whenever you

Re: About the Swagger feature (and an extension proposal)

2015-10-09 Thread Sergey Beryozkin
Hi Francesco Very nice - this is great that one can produce Swagger output without having to introduce Swagger annotations (FYI Andriy Redko worked with a Swagger team to improve Swagger JAXRS introspection). Andrei Shakirin has a good point that JAX-RS annotations can not provide the same

Re: About the Swagger feature (and an extension proposal)

2015-10-09 Thread Sergey Beryozkin
Yeah, I guess we just should make both options (re-grouping and enriching with Java docs) configurable - so that it can co-exist with the endpoints which do prefer setting Swagger annotations Thanks, Sergey On 09/10/15 11:26, Sergey Beryozkin wrote: Hi Francesco Very nice - this is great

Re: improve documentation layout

2015-10-07 Thread Sergey Beryozkin
Hi Rice Your feedback is welcomed, I opened a JIRA issue on your behalf to track this improvement request: https://issues.apache.org/jira/browse/CXF-6627 This is of course can be a pretty big effort :-) but it is indeed better to keep this issue tracked Sergey On 07/10/15 02:35, Rice Yeh

Re: CXF transformation feature to change namespace to element and all its children.

2015-10-06 Thread Sergey Beryozkin
tp://ns.b;> CXF ... 38.68 If I only add this entry "{http://ns.a}book => {http://ns.b}book; to the transformation map the namespace is only changed to book element (as normal). Is there any way of qualifying book and all its child elements without putting explicitly an entry for

Re: Consuming mutiple xml representations on resource

2015-10-06 Thread Sergey Beryozkin
V. Borisov wrote: 2015-10-05 18:28 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>: Done for 3.1.4-SNAPSHOT Thanks again, we will try it. Upgrading from 3.0.4 found strange behavior (started at 3.0.6) When method request contains xml and json representation and both contain &q

Re: CXF transformation feature to change namespace to element and all its children.

2015-10-06 Thread Sergey Beryozkin
children elements explicitly in the map. Am I correct? Iacopo -Original Message----- From: Sergey Beryozkin [mailto:sberyoz...@gmail.com] Sent: 06 October 2015 16:42 To: users@cxf.apache.org Subject: Re: CXF transformation feature to change namespace to element and all its children. Hi Ca

Re: CXF-RS 3.1.0 combining body and attachment

2015-10-05 Thread Sergey Beryozkin
low.com/questions/32827616/cxf-rs-combining-body-and-attachment -- View this message in context: http://cxf.547215.n5.nabble.com/CXF-RS-3-1-0-combining-body-and-attachment-tp5761361.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Consuming mutiple xml representations on resource

2015-10-05 Thread Sergey Beryozkin
Done for 3.1.4-SNAPSHOT Sergey On 05/10/15 08:30, Vjacheslav V. Borisov wrote: 2015-10-05 0:56 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>: Re Patch/etc - yes wadl-to-java can not generate the custom annotation classes - it is time to do it though, will take care of it

Re: @...Param and client proxy

2015-10-04 Thread Sergey Beryozkin
'm missing something? Thanks Veit -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: can logging and StaxTransformFeature use at the same time?

2015-10-04 Thread Sergey Beryozkin
Some info is here http://cxf.apache.org/docs/transformationfeature.html#TransformationFeature-Transforminterceptorsandphases but it is not enough... Sergey On 04/10/15 19:20, Sergey Beryozkin wrote: As far as I recall you can register TransformIn/OutInterceptor directly and set a phase

Re: @...Param and client proxy

2015-10-04 Thread Sergey Beryozkin
Hi Veit The client proxy code apparently does not support nested BeanParams, so more work will need to be done Cheers, Sergey On 04/10/15 19:21, Veit Guna wrote: Hi Sergey. I see. Any news about the nested @BeanParam :)? Cheers Veit Am 04.10.2015 um 19:18 schrieb Sergey Beryozkin: Hi

Re: can logging and StaxTransformFeature use at the same time?

2015-10-04 Thread Sergey Beryozkin
I am using cxf-2.4.2 -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Not able to disable schema validation

2015-10-04 Thread Sergey Beryozkin
} -- View this message in context: http://cxf.547215.n5.nabble.com/Not-able-to-disable-schema-validation-tp5761403.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Static resource STATIC_RESOURCES_MAP_RESOURCE

2015-10-04 Thread Sergey Beryozkin
commenting finalizeServletInit() and the same worked for.Can you please tell me what will be the impact of not having a call to method finalizeServletInit(). Thanks, Akshay _ Sent from http://cxf.547215.n5.nabble.com -- Sergey Beryozkin Talend Community C

Re: @...Param and client proxy

2015-10-04 Thread Sergey Beryozkin
On 04/10/15 18:44, Veit Guna wrote: Alright. Thanks for the quick feedback! May I create a ticket for that? Sure, please do open JIRA tickets whenever you spot CXF client issues Cheers, Sergey Thanks Veit Am 04.10.2015 um 19:33 schrieb Sergey Beryozkin: Hi Veit The client proxy code

Re: Consuming mutiple xml representations on resource

2015-10-04 Thread Sergey Beryozkin
s? I have options: 1) use only multiple-objects version of resource, but this is not very elegant, always to have envelope, and many rest guides follows single-object crud 2) use not-xml envelope, like multipart/form-data (standard, but adding unecessary envelopes ugly) -- Sergey

Re: Auto discover providers JAXRSServerFactoryBean

2015-10-03 Thread Sergey Beryozkin
think I'll need to invest more time into it... Cheers, Sergey On 03/10/15 16:54, Sergey Beryozkin wrote: Hi Peter Have you tried ? Cheers, Sergey On 02/10/15 18:43, Peter De Winter wrote: Hi Sergey, Thanks for the info. Could you just tell me if auto discovered providers, we are using

Re: Auto discover providers JAXRSServerFactoryBean

2015-10-03 Thread Sergey Beryozkin
they do not get picked up. Same goes for resources. There is @provider and @Component annotation on it and spring component scan picks them up correctly. Any advice on where we should start looking? Thanks Op 2 okt. 2015, om 17:47 heeft Sergey Beryozkin <sberyoz...@gmail.com> het vo

Re: Auto discover providers JAXRSServerFactoryBean

2015-10-02 Thread Sergey Beryozkin
or example to read? -- View this message in context: http://cxf.547215.n5.nabble.com/Auto-discover-providers-JAXRSServerFactoryBean-tp5761393.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Aw: Re: Re: Re: Re: Re: Re: Re: NPE with message body writer during load

2015-09-29 Thread Sergey Beryozkin
Hi Veit I was afraid I might've mistyped it again :-) Sergey On 29/09/15 15:34, Veit Guna wrote: Hi Sergey. Tested the latest SNAPSHOT - works for me :)! Cheers Veit Gesendet: Montag, 28. September 2015 um 23:46 Uhr Von: "Sergey Beryozkin" <sberyoz...@gmail.com> An: user

Re: Running with Spring DM (in Karaf)

2015-09-29 Thread Sergey Beryozkin
-level=40 mvn:org.apache.cxf/cxf-rt-rs-service-description/3.1.3 start-level=40 mvn:org.apache.cxf/cxf-rt-frontend-jaxrs/3.1.3 start-level=40 mvn:org.apache.cxf/cxf-rt-rs-client/3.1.3 start-level=40 Feature has no conditionals. Any suggestions greatly appreciated, Dan. -- Sergey Beryozkin Talend Communi

Re: Aw: Re: Re: Re: Re: Re: Re: NPE with message body writer during load

2015-09-28 Thread Sergey Beryozkin
()) { if (!returnType.isPrimitive()) { // you meant p here, right ;)? Class.forName(p.getName(), true, loader); } } Thanks for your support! Cheers Veit Gesendet: Donnerstag, 24. September 2015 um 12:33 Uhr Von: "Sergey Beryozkin" <sberyoz...@gmail.com> An: users@cxf.apache.org Bet

Re: Form-based authentication for SOAP-based webservices

2015-09-25 Thread Sergey Beryozkin
-browser (img-tags) identified by session-id. Is it possible to authenticate SOAP-requests send to form/session-secured endpoints? We use JaxWsProxyFactoryBean to create our client. Regards, Torsten -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Async client: Response object on failure

2015-09-25 Thread Sergey Beryozkin
. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Aw: Re: Re: Re: Re: Re: NPE with message body writer during load

2015-09-24 Thread Sergey Beryozkin
hope that helps :). Regards, Veit Gesendet: Montag, 21. September 2015 um 12:28 Uhr Von: "Sergey Beryozkin" <sberyoz...@gmail.com> An: users@cxf.apache.org Betreff: Re: Aw: Re: Re: Re: Re: NPE with message body writer during load Hi Veit Many thanks for the time you spent on ident

Re: Problem with Content-Length http header

2015-09-24 Thread Sergey Beryozkin
ssageInBytes)); } } with this code i set the Content-Length header in my HTTP Request message, but i can't determine the length of my message in bytes. how can i solve it ? Is there another way to solve this issue(HTTP Header content-Length)? thanks in advance . Eduardo. -- Serg

Re: Set or LinkedHashSet in restful call

2015-09-24 Thread Sergey Beryozkin
Hi Do you have a JAX-RS method with @Path annotation only, no @GET/etc, which returns a Set ? If so then this return value would be considered to be a dynamic JAX-RS subresource. Sergey On 23/09/15 16:44, Pratt, Jason wrote: Hello Everyone - I just started seeing this in our logs, why is

Re: Aw: Re: Re: Re: Re: NPE with message body writer during load

2015-09-21 Thread Sergey Beryozkin
o avoid the loading. Maybe result caching of the already loaded classes is a solution? I'll do some additional tests though... Thanks Veit -- Gesendet: Freitag, 18. September 2015 um 14:36 Uhr Von: "Sergey Beryozkin" <sberyoz...@gmail.com> An: users@cxf.apache.org Betreff: Re: A

Re: Aw: Re: NPE with message body writer during load

2015-09-18 Thread Sergey Beryozkin
m does not have any effect on that. So I guess it is leaking somewhere? Test runtime went up from 115secs (3.0.4) to 470secs (3.0.7-SNAPSHOT). Thanks Veit Gesendet: Dienstag, 15. September 2015 um 13:56 Uhr Von: "Sergey Beryozkin" <sberyoz...@gmail.com> An: users@cxf.apache.org Betref

Re: Aw: Re: Re: Re: NPE with message body writer during load

2015-09-18 Thread Sergey Beryozkin
. September 2015 um 13:15 Uhr Von: "Sergey Beryozkin" <sberyoz...@gmail.com> An: users@cxf.apache.org Betreff: Re: Aw: Re: Re: NPE with message body writer during load Hi Veit On 18/09/15 12:01, Veit Guna wrote: Hi Sergey. It seems the "problems" came in with 3.0.6 - not wi

Re: Aw: Re: Re: NPE with message body writer during load

2015-09-18 Thread Sergey Beryozkin
. September 2015 um 11:15 Uhr Von: "Sergey Beryozkin" <sberyoz...@gmail.com> An: users@cxf.apache.org Betreff: Re: Aw: Re: NPE with message body writer during load Hi Veit Thanks for this thorough analysis. The fix I did does not introduce some state. Are you using 2.0 API ? I think

Re: Aw: Re: NPE with message body writer during load

2015-09-18 Thread Sergey Beryozkin
One more thing, are you using a thread safe option ? That would explain some growth because each thread should be allowed to 'walk' through the API, use a reset(): http://cxf.apache.org/docs/jax-rs-client-api.html#JAX-RSClientAPI-ThreadSafety Sergey On 18/09/15 10:15, Sergey Beryozkin wrote

Re: NPE with message body writer during load

2015-09-18 Thread Sergey Beryozkin
hr Von: "Sergey Beryozkin" <sberyoz...@gmail.com> An: users@cxf.apache.org Betreff: Re: Aw: Re: Re: Re: NPE with message body writer during load Hi I'm not seeing anything immediately obvious from: https://issues.apache.org/jira/browse/CXF-6508?jql=project%20%3D%20CXF%20AND%20fi

Re: NPE with message body writer during load

2015-09-15 Thread Sergey Beryozkin
because the bulk of it was written many years back and also because the same provider or resource instance can be shared between multiple endpoints. We can investigate how the code can be re-written when a new Java 8 trunk opens Cheers, Sergey On 10/09/15 11:49, Sergey Beryozkin wrote: FYI, two

Re: CXF client using Websphere SSLSocketFactory

2015-09-15 Thread Sergey Beryozkin
Hi On 15/09/15 18:09, Messner, Friedrich (Allianz Deutschland, externer Mitarbeiter) wrote: Hi, I've developed a Spring application which runs on a Websphere with configured SSL keystore. I tried to find out how to configure a CXF client to use the Websphere-provided SSLSocketFactory

Re: WebClient removes "via" header?

2015-09-14 Thread Sergey Beryozkin
s only with CXF version 3. It is not working with CXF 2.7 How to make it work for CXF 2.7? -Govind -- View this message in context: http://cxf.547215.n5.nabble.com/Re-WebClient-removes-via-header-tp5760874p5760988.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Ber

Re: JAX-RS JS client frontend

2015-09-10 Thread Sergey Beryozkin
Sergey On 10/09/15 13:11, Vjacheslav V. Borisov wrote: 2015-09-10 15:50 GMT+04:00 Sergey Beryozkin <sberyoz...@gmail.com>: Thanks, I wish we did it earlier :-). I believe RestEasy did it awhile back (though not sure what exactly it offers), though the idea of having of a JS frontend

Re: JAX-RS JS client frontend

2015-09-10 Thread Sergey Beryozkin
API is apparently not yet well supported by all browsers, but I hope by the time we are ready to address enhancing our would be JS RS client to do WebCrypto the browsers will be ready :-) Cheers, SErgey On 10/09/15 12:31, Francesco Chicchiriccò wrote: On 10/09/2015 13:15, Sergey Beryozkin wrote

Re: NPE with message body writer during load

2015-09-10 Thread Sergey Beryozkin
:456) 0f5ba696ffe4 fns-service.log ... 63 more -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: JAX-RS JS client frontend

2015-09-10 Thread Sergey Beryozkin
/CXF-6589 This is something which is definitely not urgent, so please share some ideas at the dev or CXF-6589 whenever you have some time. Cheers, Sergey On Thu, Sep 10, 2015 at 6:54 AM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Hi Benson Hope you are reading it, I've had thi

JAX-RS JS client frontend

2015-09-10 Thread Sergey Beryozkin
Hi Benson Hope you are reading it, I've had this plan for a while, and given you did a JS WS frontend (sorry if my memory is wrong here :-)), I'd just like to ask for some ideas on how a similar RS frontend can be created. The longer term plan is to weave Web Crypto into that somehow but first

Re: OSGi DS and CXF

2015-09-10 Thread Sergey Beryozkin
er you with it. On Tue, Sep 8, 2015 at 5:16 AM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Sure, Dan, Christian, they can help, Just one point is that the code below is unlikely to bind to OSGI HTTP Service, in CXF Blueprint we have a default NonSpring CXFServlet registered with

Re: CXF and Netty

2015-09-09 Thread Sergey Beryozkin
Yes, the transport needs be configured to enable Async/Continuations. However, looking at the code, CXF NettyHttpDestination does not wrap a Netty-specific continuation/suspended invocation mechanism into CXF Continuation (Netty Reactor ?), only CXF Servlet and Jetty HTTPDestinations do it

Re: OSGi DS and CXF

2015-09-08 Thread Sergey Beryozkin
). Lets see what others say too Cheers, Sergey On 07/09/15 18:19, Benson Margulies wrote: On Mon, Sep 7, 2015 at 8:54 AM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Have a look at HttpTransportActivator in rt/transports/http I think I'm going to need more help here from people celeb

Re: WebClient removes "via" header?

2015-09-08 Thread Sergey Beryozkin
://cxf.547215.n5.nabble.com/Re-WebClient-removes-via-header-tp5760874.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF and Netty

2015-09-08 Thread Sergey Beryozkin
at 12:34 PM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Hi Have a look at a jaxrs/basic demo in the distribution - README has the info how to run it, "mvn -Pserver" runs the server, "mvn -Pclient" the client - so try that first. Next - replace a cxf-rt-transpo

Re: CXF and Netty

2015-09-08 Thread Sergey Beryozkin
ly zero informations available on it. Thank you very much in advance, Gianluca -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: OSGi DS and CXF

2015-09-07 Thread Sergey Beryozkin
Hi Benson I honestly do not know. Is DS similar to Distributed OSGI ? Actually, I see: https://github.com/apache/cxf-dosgi/tree/master/samples/ds https://github.com/apache/cxf-dosgi/blob/master/samples/ds/impl/src/main/resources/OSGI-INF/component.xml I wonder if DOSGI is needed for a CXF

Re: OSGi DS and CXF

2015-09-07 Thread Sergey Beryozkin
services as usual. I'm guessing that CXF plugs into the whiteboard in the OSGi environment whether or not anyone ever uses a CXF blueprint bean, but I was hoping for confirmation. On Mon, Sep 7, 2015 at 5:39 AM, Sergey Beryozkin <sberyoz...@gmail.com> wrote: Hi Benson I honestly do no

Re: Why does CXF JAX-RS set content-type on GET requests with no body?

2015-09-07 Thread Sergey Beryozkin
to some wrong CXF client code after all... Thanks, Sergey On 20/08/15 11:33, Sergey Beryozkin wrote: Hi Aki Re your tests below: can you clarify please how the JAX-RS method is configured, what @Consumes it has ? And what do you mean sporadically ? I appreciate you spending time

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