Re: How to generate episode file using wadl2java ?

2016-01-21 Thread Sergey Beryozkin
erhaps the similar approach can help with episodes ? Cheers, Sergey On 21/01/16 05:00, Vjacheslav V. Borisov wrote: I am talking about my progress is slow :) Where can I find xml catalog resolution code in cxf wadl2java ? May be i can patch it to enable debugging info 2016-01-20 18:24 GMT+04

Re: How to generate episode file using wadl2java ?

2016-01-20 Thread Sergey Beryozkin
e: 2015-11-24 19:48 GMT+04:00 Sergey Beryozkin : I'll look in detail at one of the existing tests where an external binding is applied (I recall copying some JAXWS tooling code which modifies the binding files), and will let you know, a bit later though Found temporal workaround to rec

Re: Accessing init-param in spring with servlet transport

2016-01-19 Thread Sergey Beryozkin
cxf-rt-frontend-jaxrs 3.1.4 Cheers, Paul. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Transferring Message between two CXF Destination

2016-01-18 Thread Sergey Beryozkin
me a suggestion why there are not exception but the client can't receive the response from server 2? Thank you so much. Regards. Tho. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: How to limit concurrent requests served by resource?

2016-01-18 Thread Sergey Beryozkin
ax-rs services? Which is there jax-rs analogs to AbstractPhaseInterceptor ? 2016-01-15 16:19 GMT+04:00 Sergey Beryozkin : Hi CXF ships its own throttling feature, Dan did it, see https://fisheye6.atlassian.com/browse/cxf/distribution/src/main/release/samples/throttling The threads wi

Re: How to limit concurrent requests served by resource?

2016-01-15 Thread Sergey Beryozkin
-number-of-concurrent-request-in-servlet Should i do something like showed in accepted answer, or cxf has his limit configuration ? -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Where is my JAX-RS Invoke going?

2016-01-13 Thread Sergey Beryozkin
) is selected add 'qs=0.9' to text/html in Produces and you will get a method with application/json selected Cheers, Sergey On 13/01/16 14:22, Jim Talbut wrote: No q, no text/html, this is coming from AngularJS using its default Accept header. Jim On 13/01/2016 13:57, Sergey Beryo

Re: Where is my JAX-RS Invoke going?

2016-01-13 Thread Sergey Beryozkin
On 13/01/16 13:53, Sergey Beryozkin wrote: Hi On 13/01/16 13:05, Jim Talbut wrote: Gaah You're right. Thank you. I haven't touched this code for a long while and didn't realise I had overloaded that method (I've now renamed the methods to help me out next time).

Re: Where is my JAX-RS Invoke going?

2016-01-13 Thread Sergey Beryozkin
g that method, but it never gets as far as that LOG expression. Other calls are working, this is the only one I've found that isn't, but it fails consistently. It does work when run in a junit that isn't using tomcat. Can anyone suggest where I should start to look for the cause of this problem? Thanks. Jim -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Where is my JAX-RS Invoke going?

2016-01-13 Thread Sergey Beryozkin
expression. Other calls are working, this is the only one I've found that isn't, but it fails consistently. It does work when run in a junit that isn't using tomcat. Can anyone suggest where I should start to look for the cause of this problem? Thanks. Jim -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: CXF remove some namespaces

2016-01-13 Thread Sergey Beryozkin
uot;;, "*"); outTransformMap.put("AMA_SecurityHostedUser", "{http://xml.afterbit.com/2010/06/Security_v1}AMA_SecurityHostedUser";); org.apache.cxf.interceptor.transform.TransformOutInterceptor transformOutInterceptor = new org.apache.cxf.interceptor.transform.TransformOutInterceptor(); transformOutInterceptor.setOutTransformElements(outTransformMap); client.getOutInterceptors().add(transformOutInterceptor); Thanks! -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: org.apache.cxf.interceptor.Fault: DISPATCHED,initial

2016-01-11 Thread Sergey Beryozkin
andom response, from an unrelated REST method. Also there are timeouts when invoking REST methods. I would really appreciate some help with this issue, as aim out of ideas on this one. Greetings Lukasz Bialy -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/ -- S

Re: MultipartBody Content-Type attributes dropped on upgrade from CXF 2.4.0 to 3.4.1

2016-01-11 Thread Sergey Beryozkin
ppreciate the response and I'm glad for the clarity of understanding. jz [1]: https://issues.apache.org/jira/browse/CXF-4348 [2]: http://tools.ietf.org/html/rfc2387 [3]: http://stackoverflow.com/questions/34597903/multipartbody-content-type-attributes-dropped-on-cxf-upgrade -Orig

Re: Exceptions and Async

2016-01-11 Thread Sergey Beryozkin
exception is thrown. Perhaps when the exception escapes immediately then something needs to be tweaked Cheers, Sergey On 11/01/16 11:56, Benson Margulies wrote: On Mon, Jan 11, 2016 at 6:49 AM, Sergey Beryozkin wrote: Hi Benson On 11/01/16 11:42, Benson Margulies wrote: Sergey, I annotate

Re: org.apache.cxf.interceptor.Fault: DISPATCHED,initial

2016-01-11 Thread Sergey Beryozkin
appreciate some help with this issue, as aim out of ideas on this one. Greetings Lukasz Bialy -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Exceptions and Async

2016-01-11 Thread Sergey Beryozkin
return type, but of course a method can immediately do asyncResponse.resume(myResponse). Cheers, Sergey On Mon, Jan 11, 2016 at 5:17 AM, Sergey Beryozkin wrote: Hi Benson The very first call into this method does not suspend the continuation, so there's no need to resume it if the exceptio

Re: CXF Web Client Proxy Exception

2016-01-11 Thread Sergey Beryozkin
Hi Can you clarify please, how does it work for you if say a plain HttpUrlConnection is used directly ? Sounds like CXF HttpConduit proxy configuration might be applied, but I'd like to get more information first Thanks, Sergey On 04/01/16 20:14, williamo...@ups.com.INVALID wrote: Hi all,

Re: MultipartBody Content-Type attributes dropped on upgrade from CXF 2.4.0 to 3.4.1

2016-01-11 Thread Sergey Beryozkin
tBooks2() method in the JAX-RS Multipart documentation][2]. Any guidance on what might be causing the different behaviour? [1]: http://cxf.apache.org/docs/migration-guides.html [2]: http://cxf.apache.org/docs/jax-rs-multiparts.html#highlighter_731760 -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Exceptions and Async

2016-01-11 Thread Sergey Beryozkin
Hi Benson The very first call into this method does not suspend the continuation, so there's no need to resume it if the exception is returned. Do you see a mapped exception response not being returned ? Please clarify Cheers, Sergey On 02/01/16 02:01, Benson Margulies wrote: If I am in a me

Re: Attaching context to an AsyncResponse

2016-01-11 Thread Sergey Beryozkin
to the resource class to complete processing, the injected message context could be long gone. I'm wishing that AsyncResponse had a 'put', but no such luck. Am I missing anything? -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: async problem ; Illegal State Exception

2015-12-30 Thread Sergey Beryozkin
Hi On 30/12/15 13:13, Benson Margulies wrote: On Wed, Dec 30, 2015 at 6:28 AM, Sergey Beryozkin wrote: Hi Benson Does it happen only when org.jolokia.osgi.security.BasicAuthenticationHttpContext.handleSecurity Sergey, there are no credentials anywhere that I know of. I'm invoki

Re: async problem ; Illegal State Exception

2015-12-30 Thread Sergey Beryozkin
l.java:261)[147:org.eclipse.jetty.server:9.2.10.v20150310] at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[150:org.eclipse.jetty.util:9.2.10.v20150310] at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[150:org.eclipse.jetty.util:9.2.10.v2015031

Re: Playing with readEntity(String.class)

2015-12-30 Thread Sergey Beryozkin
ore wrote: Thanks Sergey, but in the meanwhile I tried fruitless different options which include escapeForwardSlashesAlways(false). I have also tried to change entirely the implementation, but even Jersey have the same behaviour. This is pretty strange to me. On Tue, Dec 29, 2015 at 7:10 PM, Sergey Bery

Re: Playing with readEntity(String.class)

2015-12-29 Thread Sergey Beryozkin
deserialization hasn't be triggered when it should. Thanks in advance for your help, Vincenzo -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Log empty message (with HTTP status code only)

2015-12-29 Thread Sergey Beryozkin
29/12/15 18:00, Sergey Maslov wrote: Sergey, thank you. But how could I log the fact of 202 response? Segery Maslov On Tue, Dec 29, 2015 at 11:55 PM, Sergey Beryozkin wrote: I think it might be because 202 is handled by a oneway processor and the outbound chain is not invoked though I might be

Re: Log empty message (with HTTP status code only)

2015-12-29 Thread Sergey Beryozkin
contract, these messages are needed to be sent. How could I log them? -- *Sergey Maslov* -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

New OAuthDataProvider methods on the trunkk/3.1.x

2015-12-28 Thread Sergey Beryozkin
Hi I had to update OAuthDataProvider interface and add two methods for listing the access and refresh tokens associated with a given OAuth2 client. Also, AuthorizationCodeDataProvider which extends OAuthDataProvider has a new method for listing the pending code grants associated with a given

Re: Unit-testing jaxrs:server created by spring

2015-12-28 Thread Sergey Beryozkin
ing: 17:16:26.901 [main] INFO org.apache.cxf.endpoint.ServerImpl - Setting the server's publish address to be / how can I connect to it using WebClient? what URL should I use? -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: How to handle ClientAbortException in CXF ?

2015-12-23 Thread Sergey Beryozkin
ot;) // .build(); } } I tried to various stuff, but still throw the error, any guess here ? On Wed, Dec 23, 2015 at 9:45 PM, Sergey Beryozkin wrote: Well, first thing to check is whether this mapper is invoked, note it is not auto-discovered by default, unless you explicitly en

Re: How to handle ClientAbortException in CXF ?

2015-12-23 Thread Sergey Beryozkin
AL_SERVER_ERROR) .header("Content-Type", "application/json") .entity(errorMessage) .build(); } } On Wed, Dec 23, 2015 at 9:35 PM, Sergey Beryozkin wrote: Try registering ExceptionMapper and see what happens Cheers. Sergey O

Re: How to handle ClientAbortException in CXF ?

2015-12-23 Thread Sergey Beryozkin
nnectionCallback.html 'Sumit On Wed, Dec 23, 2015 at 7:13 PM, Sergey Beryozkin wrote: Hi JAXRSOutInterceptor.handleWriteException checks JAX-RS ExceptionMapper so perhaps you can intercept that Exception and return Response with the code only from this exception mapper. Another option to

Re: How to handle ClientAbortException in CXF ?

2015-12-23 Thread Sergey Beryozkin
X.X.X } - It was package name string ,which I hve replaced with X.X.X.X -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: FIQL query validation

2015-12-22 Thread Sergey Beryozkin
I've prototyped PropertyNameConverter and did some basic documentation here: https://cwiki.apache.org/confluence/display/CXF20DOC/JAX-RS+Search#JAX-RSSearch-Dealingwithmistypedpropertynames Cheers, Sergey On 04/11/15 11:07, Sergey Beryozkin wrote: Hi Thanks for experimenting with it,

Re: CXF JAX-RS response chunk/buffer size

2015-12-18 Thread Sergey Beryozkin
e 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: RS service method accepting 2 parameters

2015-12-17 Thread Sergey Beryozkin
uld be done somehow automatically without this code I'm getting Parameter Class org.apache.openmeetings.package.BeanA has no constructor with single String parameter, static valueOf(String) or fromString(String) methods On Wed, Dec 16, 2015 at 4:23 PM, Sergey Beryozkin wrote: Hi Max It is u

Re: RS service method accepting 2 parameters

2015-12-16 Thread Sergey Beryozkin
bject)options)); Response resp = getClient(USER_SERVICE_URL) .path("/hash") .form(map); //throws no body wrapper for LinkedHashMap class I cannot use .form(new Form().) due to it can only accepts string parameters can someone please point me to an example or provide with the hint how this can be implemented Thanks in advance -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Async in OSGi / pax-web

2015-12-14 Thread Sergey Beryozkin
probably go there. On Dec 14, 2015 12:00 PM, "Sergey Beryozkin" 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 with Aries ? If yes then use CXFBlueprintServlet: https

Re: Async in OSGi / pax-web

2015-12-14 Thread Sergey Beryozkin
b universe. I think I'll do some sleuthing. On Mon, Dec 14, 2015 at 9:22 AM, Benson Margulies wrote: I have avoided blueprint in favor of DS but both are in karaf so I can probably go there. On Dec 14, 2015 12:00 PM, "Sergey Beryozkin" wrote: Hi Benson I suspect you may need

Re: CXF 3.0.7 JAXRS POST read body

2015-12-14 Thread Sergey Beryozkin
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: Async in OSGi / pax-web

2015-12-14 Thread Sergey Beryozkin
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 with Aries ? If yes then use CXFBlueprintServlet: https://github.com/apache/cxf/blob/master/systests/jaxrs/src/test/resources/jaxrs_soap_blue

Re: jaxrs cxf deployment issues on weblogic 12c

2015-12-09 Thread Sergey Beryozkin
View 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 h

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

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

2015-12-04 Thread Sergey Beryozkin
are not the 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&qu

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

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

Re: MLHttpRequest cannot load

2015-12-03 Thread Sergey Beryozkin
ffices/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 Bery

Re: How to generate episode file using wadl2java ?

2015-11-24 Thread Sergey Beryozkin
MT+04:00 Sergey Beryozkin : 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 (with extra p

Re: How to generate episode file using wadl2java ?

2015-11-24 Thread Sergey Beryozkin
eers, Sergey On 24/11/15 06:01, Vjacheslav V. Borisov wrote: 2015-11-23 16:32 GMT+04:00 Sergey Beryozkin : 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 wadl2j

Re: How to generate episode file using wadl2java ?

2015-11-23 Thread Sergey Beryozkin
xtraarg: 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

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 'epis

Re: How to generate episode file using wadl2java ?

2015-11-23 Thread Sergey Beryozkin
till the case 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 : -xjc-episo

Re: How to generate episode file using wadl2java ?

2015-11-20 Thread Sergey Beryozkin
g to address this issue with inability to generate / use episode file using wadl2java? | 2015-11-18 20:23 GMT+04:00 Sergey Beryozkin mailto:sberyoz...@gmail.com>>: Hi I wonder if you should do -xjc-episode sun-jaxb.episode something like that, try it please Sergey

Re: How to generate episode file using wadl2java ?

2015-11-18 Thread Sergey Beryozkin
: 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: Aw: Re: CXF JAX-RS client receives empty inputstream under load

2015-11-11 Thread Sergey Beryozkin
s the same. 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" An: users@cxf.apache.org Betreff: Re: CXF JAX-RS client receives empty inputstream unde

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: CXF JAX-RS client receives empty inputstream under load

2015-11-10 Thread Sergey Beryozkin
ified, 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 Tal

Re: ParamConverterProvider use with primitive types

2015-11-09 Thread Sergey Beryozkin
sage in context: 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
ass(ClassLoader.java: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
public String toString(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.c

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

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

2015-11-03 Thread Sergey Beryozkin
Hi On 03/11/15 16:58, Jesse White wrote: Hi Sergey, On 11/03/2015 05:20 AM, Sergey Beryozkin wrote: So let me introduce a property, not sure how to name though, may be instead of 'preserve.local.ip.address' it should be 'replace.loopback.address.with.localhost' - enabled

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: FIQL query validation

2015-11-02 Thread Sergey Beryozkin
milarly. -- View this message in context: http://cxf.547215.n5.nabble.com/FIQL-query-validation-tp5762439p5762481.html Sent from the cxf-user mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

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 iss

Re: FIQL query validation

2015-10-30 Thread Sergey Beryozkin
On 30/10/15 17:06, Sergey Beryozkin wrote: Hi Right now you can control it like this, it is captured in http://cxf.apache.org/docs/jax-rs-search.html#JAX-RSSearch-Capturingthequeries, and the follow up sections, but I guess it would help to have a table... - register ExceptionMapper and let

Re: FIQL query validation

2015-10-30 Thread Sergey Beryozkin
passing it to the QueryVisitor? -- View this message in 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: Jso-api/Katharsis.io

2015-10-30 Thread Sergey Beryozkin
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:s

Re: Jso-api/Katharsis.io

2015-10-30 Thread Sergey Beryozkin
CXF documentation and have not been 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: JNDI lookups in CXFNonSpringServlet

2015-10-30 Thread Sergey Beryozkin
opy 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: Failover for JAX-RS clients

2015-10-29 Thread Sergey Beryozkin
hanks, Sree 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 cont

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

2015-10-28 Thread Sergey Beryozkin
riginal 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 legacy 3rd party

Re: DS/DOSGi/Providers

2015-10-28 Thread Sergey Beryozkin
Perhaps On Wed, Oct 28, 2015 at 8:19 AM, Sergey Beryozkin 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 that go in DS-@nnot

Re: DS/DOSGi/Providers

2015-10-28 Thread Sergey Beryozkin
-page.html, I am curious about how these services get addtional providers (exception mappers, etc) attached to themselves. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

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 (

Re: Claims based authentication with ApacheDS

2015-10-27 Thread Sergey Beryozkin
become a broker. All in all, it's just about being able to accept incoming requests and answer them. ApacheDS has been designed from the very beginning to be exactly that : a layer on top of which you implement your protocol (and we have successfully implemented LDAP, Kerberos, DHCP, DNS,

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

2015-10-27 Thread Sergey Beryozkin
.Attachment; import org.apache.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 wrote: Hi Mark Sorry for a delay, I'm not seeing a 'fileinfo' part in the payload

Re: Failover for JAX-RS clients

2015-10-27 Thread Sergey Beryozkin
JAX-RS-clients-tp4494783p5762219.html Sent from the cxf-user mailing list archive at Nabble.com. -- 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-27 Thread Sergey Beryozkin
ckoverflow.com/a/33191716/2018047 Hope that helps in narrowing it down a bit... Brgrds, Christian P.S.: With my CXF knowledge being extremely limited, looking at the diffs for your test, I am wondering what URL you actually use - and where you execute the actual HTTP call? On Sun, Oct 18, 2015 at

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

2015-10-27 Thread Sergey Beryozkin
s.utils.JAXRSUtils.readFromMessageBodyReader( JAXRSUtils.java:1340) at 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: Apache CXF overriding the Content-Type when using WebClient for GET

2015-10-21 Thread Sergey Beryozkin
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 WebClient for GET

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

2015-10-20 Thread Sergey Beryozkin
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: Apache CXF overriding the Content-Type when using WebClient for GET

2015-10-20 Thread Sergey Beryozkin
roblem 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

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 versio

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: Aw: Re: @...Param and client proxy

2015-10-19 Thread Sergey Beryozkin
r 2015 um 13:35 Uhr Von: "Sergey Beryozkin" 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 - this is not

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 reporti

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 make

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 : Hi Can you use SearchContext to prepare SearchCondition (this is when

Re: How to use FIQL without SearchContext?

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

Re: Fwd: Static resource STATIC_RESOURCES_MAP_RESOURCE

2015-10-12 Thread Sergey Beryozkin
ect: Re: Static resource STATIC_RESOURCES_MAP_RESOURCE To: Sergey Beryozkin 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 need to get destination from destination registry for eve

Re: @...Param and client proxy

2015-10-09 Thread Sergey Beryozkin
ction 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 wheneve

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

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
t without specifying all 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 a

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

2015-10-06 Thread Sergey Beryozkin
elements without putting explicitly an entry for all book children elements? Thanks, Iacopo -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/

Re: Consuming mutiple xml representations on resource

2015-10-06 Thread Sergey Beryozkin
6/10/15 11:35, Vjacheslav V. Borisov wrote: 2015-10-05 18:28 GMT+04:00 Sergey Beryozkin : 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 co

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