Re: some thoughts that I wanted to post, in regards to RP, CRI, Exceptions, and a class scanner

2011-05-24 Thread Sergey Beryozkin
ing first, by simplifying whatever possible, in order to see it working and feel good about it. I actually think now that this is a very complex project given how much info you have to filter through. I know how seriously you are trying to approach it - but my advice is to stay focused on the most relevant parts/info and get something working fast. Thanks, Sergey > Thank you. > > Ryan > -- Sergey Beryozkin Application Integration Division of Talend http://sberyozkin.blogspot.com

Re: Custom Reuqest Param Name for Bean Request Object

2011-05-24 Thread Sergey Beryozkin
ctual changes are. I'm going to attach svn properties file from my local snapshot to JIRA, can you please give me a favor and try again with those properties applied ? thanks, Sergey > On Fri, May 20, 2011 at 2:26 AM, Sergey Beryozkin wrote: > >> Hi - did you see the comments on

Re: Custom Reuqest Param Name for Bean Request Object

2011-05-24 Thread Sergey Beryozkin
ister ParameterHandler to capture Form, query or path values or XmlJavaTypeAdapter to capture say XML payload). Please, simplify the patch a bit so that only a 'FormParam(""), QueryParam(""), or PathParam("") Map' case can be supported thanks, Sergey On Tue, May 24, 20

Re: Custom Reuqest Param Name for Bean Request Object

2011-05-25 Thread Sergey Beryozkin
beans. >> >> Classes Changed, >> org.apache.cxf.jaxrs.utils.InjectionUtils >> >> Methods Changed >> public static Object handleBean(...) - Added another if clause >> "} else if (InjectionUtils.isSupportedMap(type)) {" >> >> Meth

Re: some thoughts that I wanted to post, in regards to RP, CRI, Exceptions, and a class scanner

2011-05-25 Thread Sergey Beryozkin
Hi Ryan Don't worry about those typos, it happens all the time, I can confirm that :-) On Wed, May 25, 2011 at 3:04 AM, Ryan Zoerner wrote: > This is what I had in mind for an RP constructor: Incidentally, EJB > annotations show up in the cri. under > ClassResourceInfo.elementData[i].resourceCla

Re: some thoughts that I wanted to post, in regards to RP, CRI, Exceptions, and a class scanner

2011-05-25 Thread Sergey Beryozkin
JAX-WS as suggested earlier, in order to understand how to integrate (as far as the creation of instances is concerned) or at least to peruse the relevant code, ask questions there, etc Cheers, Sergey On Wed, May 25, 2011 at 1:32 PM, Sergey Beryozkin wrote: > Hi Ryan > > Don't worry about

Re: Custom Reuqest Param Name for Bean Request Object

2011-05-26 Thread Sergey Beryozkin
hing with this mail also. >> >>   On Wed, May 25, 2011 at 4:33 AM, Sergey Beryozkin >> wrote: >> >>> Hi >>> >>> Can you attach the updated patch to JIRA please ? I'm not seeing a >>> patch attached to your email message. >>>

Re: Expose MBeans in CXF

2011-05-27 Thread Sergey Beryozkin
Integer var, have some map there which will keep pairs like >> >> >> id: Mbean ref >> >> >> >> >> >> and generate 'id' dynamically if none already exists in the map for >> >> >> a >> >> >> given MBean >> >> >> >> >&g

Re: Expose MBeans in CXF

2011-05-31 Thread Sergey Beryozkin
Hi Shenglin Good progress, some comments below > > Function 1: (0 - 5 is continuous, no gap) > Jmx Server: > sub-resource locator > http://localhost:8080/services/jmx/mbean/0 > http://localhost:8080/services/jmx/mbean/1 The id allocation (0, 1, etc) has to be thread safe > > > Function 2: > Note

Re: Expose MBeans in CXF

2011-05-31 Thread Sergey Beryozkin
> FuseSource > Web: http://www.fusesource.com > Blog:    http://willemjiang.blogspot.com (English) >         http://jnn.javaeye.com (Chinese) > Twitter: willemjiang > Weibo: willemjiang > -- Sergey Beryozkin Application Integration Division of Talend http://sberyozkin.blogspot.com

Re: Expose MBeans in CXF

2011-05-31 Thread Sergey Beryozkin
approve :) > > BTW, it is more easy to try and test implementation codes with help of git. > > On 5/31/11 9:14 PM, Sergey Beryozkin wrote: >> >> Hi >> >> Shenglin submitted ICLA for him be able to start working in the >> sandbox, he probably didn't get

Re: Expose MBeans in CXF

2011-06-01 Thread Sergey Beryozkin
jectname/org.apache.cxf:bus.id=cxf28619341,* >> > > ... >> > that is ok, a user does not have to specify them as you demonstrated >> > with queries like >> > >> > > http://localhost:8080/services/jmx/objectname/org.apache.cxf:port=%22CustomerServiceIm

Re: Custom Reuqest Param Name for Bean Request Object

2011-06-01 Thread Sergey Beryozkin
at 6:02 PM, Biju Nair wrote: > Did you get chance to look into this? > > On Thu, May 26, 2011 at 2:19 PM, Sergey Beryozkin wrote: > >> Sorry, not yet, hoping to do it shortly >> >> Sergey >> >> On Thu, May 26, 2011 at 8:36 PM, Biju Nair wrote: >>

Re: Custom Reuqest Param Name for Bean Request Object

2011-06-02 Thread Sergey Beryozkin
Please check a previous message, we need a better Map check and no empty branches thanks, Sergey On Thu, Jun 2, 2011 at 6:37 PM, Biju Nair wrote: > Yes I can help you in improving. Let me know what needs to be done. > > On Wed, Jun 1, 2011 at 10:16 AM, Sergey Beryozkin wrote: >

Re: Custom Reuqest Param Name for Bean Request Object

2011-06-03 Thread Sergey Beryozkin
ot;empty branches", can you just elaborate? > > Do you mean we need to have only Map> and not > Map? > > On Thu, Jun 2, 2011 at 1:46 PM, Sergey Beryozkin wrote: > >> Please check a previous message, we need a better Map check and no >> empty branches >> &g

Re: 2.4.1likely in a day or 3

2011-06-06 Thread Sergey Beryozkin
Thanks, Sergey > Thanks! > > -- > Daniel Kulp > dk...@apache.org > http://dankulp.com/blog > Talend - http://www.talend.com > -- Sergey Beryozkin Application Integration Division of Talend http://sberyozkin.blogspot.com

Re: Expose MBeans in CXF

2011-06-08 Thread Sergey Beryozkin
t;> >> Shenglin Qiu >> >> >> >> >> >> > Date: Tue, 31 May 2011 10:35:36 +0100 >> >> > Subject: Re: Expose MBeans in CXF >> >> > From: sberyoz...@gmail.com >> >> > To: dev@cxf.apache.org >> >&g

Re: Build failed in Jenkins: CXF-Trunk-JDK15 #2140

2011-06-08 Thread Sergey Beryozkin
Hi, > [INFO] - > [ERROR] COMPILATION ERROR : > [INFO] - > [ERROR] >

Re: Build failed in Jenkins: CXF-Trunk-JDK15 #2140

2011-06-08 Thread Sergey Beryozkin
c in time. Hopefully you can hide those refs somehow :-) thanks, Sergey > regards, aki > > 2011/6/8 Sergey Beryozkin : >> Hi, >> >>> [INFO] - >>> [ERROR] COMPILATION ERROR : >>> [INFO]

Re: Build failed in Jenkins: CXF-Trunk-JDK15 #2140

2011-06-08 Thread Sergey Beryozkin
ets revisit this issue if you do get some production requirements re supporting SOAPMessage in time. But I hope supporting (Dispatch) Source will do it for most non-POJO cases Cheers, Sergey > Regards, aki > > 2011/6/8 Sergey Beryozkin : >> Hi Aki >> >> On Wed, Jun 8, 2011 at 11:3

Re: Custom Reuqest Param Name for Bean Request Object

2011-06-08 Thread Sergey Beryozkin
satisfy your > requirement? > > Biju B > > On Sun, Jun 5, 2011 at 12:28 PM, Biju Nair wrote: > >> Updated JIRA with path and modified files for the new implementation... >> >> >> On Fri, Jun 3, 2011 at 1:52 AM, Sergey Beryozkin wrote: >> >>> Your patch c

Re: Expose MBeans in CXF

2011-06-09 Thread Sergey Beryozkin
;) >> >> >>     public MBean locateMBean() >> >> >> >> >> >> >> >> >>     @GET >> >> >>     @POST >> >> >>     @Path("/type/{query}") >> >> >>     public MBea

Re: [VOTE] Release Apache CXF 2.4.1

2011-06-09 Thread Sergey Beryozkin
.apache.org/repos/asf/cxf/tags/cxf-2.4.1 > > > This vote will be open for at least 72 hours. > > > > -- > Daniel Kulp > dk...@apache.org > http://dankulp.com/blog > Talend - http://www.talend.com > -- Sergey Beryozkin Application Integration Division of Talend http://sberyozkin.blogspot.com

Re: [VOTE] Release Apache CXF 2.3.5

2011-06-09 Thread Sergey Beryozkin
.apache.org/repos/asf/cxf/tags/cxf-2.3.5 > > > This vote will be open for at least 72 hours. > > > -- > Daniel Kulp > dk...@apache.org > http://dankulp.com/blog > Talend - http://www.talend.com > -- Sergey Beryozkin Application Integration Division of Talend http://sberyozkin.blogspot.com

Re: [VOTE] Release Apache CXF 2.3.5 - take 2

2011-06-10 Thread Sergey Beryozkin
+1 On Fri, Jun 10, 2011 at 3:37 AM, Daniel Kulp wrote: > > > We've resolved over 58 issues since 2.3.4 and thus is time for a release. > > This is take #2 fixing the attachment issue I found while testing with Camel. > > > List of issues: > https://issues.apache.org/jira/secure/ReleaseNote.jspa?p

Re: [VOTE] Release Apache CXF 2.4.1 - take 2

2011-06-10 Thread Sergey Beryozkin
+1 On Fri, Jun 10, 2011 at 3:38 AM, Daniel Kulp wrote: > > We've resolved over 100 issues since 2.4.1 and thus is time for a release. > > This is take #2 fixing the attachment issue I found while testing with Camel. > > List of issues: > https://issues.apache.org/jira/secure/ReleaseNote.jspa?proj

Re: Expose MBeans in CXF

2011-06-13 Thread Sergey Beryozkin
, Sergey On Thu, Jun 9, 2011 at 1:17 PM, Sergey Beryozkin wrote: > Hi Shenglin > > One thing which you are doing well is introducing subresources, given > that both MBean and MBeanCotellection have become the ones. > Understanding how subresources work is good in itself. I can see you &g

Re: [DISCUSS] Remove JBI stuff in 2.5

2011-06-14 Thread Sergey Beryozkin
t;> >> FuseSource >> Email:ff...@fusesource.com >> Web: fusesource.com >> Twitter: freemanfang >> Blog: http://freemanfang.blogspot.com >> >> >> >> >> >> >> >> >> >> > > > -- > Willem > -- > FuseSource > Web: http://www.fusesource.com > Blog:    http://willemjiang.blogspot.com (English) >         http://jnn.javaeye.com (Chinese) > Twitter: willemjiang > Weibo: willemjiang > -- Sergey Beryozkin Application Integration Division of Talend http://sberyozkin.blogspot.com

Re: JAXRS EJBInvoker

2011-06-19 Thread Sergey Beryozkin
but from method call to > method call is my guess). > > The only thing that the EJBInvoker does is retrieve a different set of > contextual information and defer to a different container. > > It is now 11:13 which is sort of late for me, so I just listed what I think > I know; I

Re: migratin openejb to cxf 2.4.1

2011-06-23 Thread Sergey Beryozkin
Hi On Wed, Jun 22, 2011 at 9:55 PM, Romain Manni-Bucau wrote: > Hi cxf dev! > > i would like to help migrating openejb to the last version of cxf but some > API changed between the version we are using (2.2.10) and the 2.4.1. I > wonder the best way to do. > > here is the code: > https://svn.apac

Re: Bean Invoker, Proxy, EasyBeans EJB Remote Home proxy for remote calls

2011-06-27 Thread Sergey Beryozkin
Hi Ryan On Mon, Jun 27, 2011 at 5:58 PM, Ryan Zoerner wrote: > Sergey, > > I have seen the Bean Invoker in cxf. I have just come across the class > EJBHomeCallFactory in EasyBeans. > > I am wondering if it might suit our needs to use this, BeanInvoker, and make > BeanInvoker extend JAXRSInvoker.

Re: Bean Invoker, Proxy, EasyBeans EJB Remote Home proxy for remote calls

2011-06-28 Thread Sergey Beryozkin
Hi Ryan On Tue, Jun 28, 2011 at 3:23 AM, Ryan Zoerner wrote: > When I was debugging the jax-rs example, I placed an @EJB annotation in my > Customer class and it showed up in the annotations in cri. Hence, any > lifecycle-defining annotations would show up also? > Yes, we discussed it earlier

Re: Bean Invoker, Proxy, EasyBeans EJB Remote Home proxy for remote calls

2011-06-29 Thread Sergey Beryozkin
orks, 'breathes' EJB, then may be there's no need to understand how CXF JAX-WS has been integrated. It definitely does not apply to me though and thus I can't give you any useful advice on how to proceed... Thanks, Sergey > Thanks, > > Ryan > -- Sergey Beryozkin Application Integration Division of Talend http://sberyozkin.blogspot.com

Re: svn commit: r1141036 - /cxf/dosgi/trunk/pom.xml

2011-06-29 Thread Sergey Beryozkin
== >> === --- cxf/dosgi/trunk/pom.xml (original) >> +++ cxf/dosgi/trunk/pom.xml Wed Jun 29 10:22:30 2011 >> @@ -36,7 +36,7 @@ >>       >> >>       >> -        2.0.9 >> +        2.2.1 >>       >> >>       > -- > Daniel Kulp > dk...@apache.org > http://dankulp.com/blog > Talend - http://www.talend.com > -- Sergey Beryozkin Application Integration Division of Talend http://sberyozkin.blogspot.com

Re: Bean Invoker, Proxy, EasyBeans EJB Remote Home proxy for remote calls

2011-07-01 Thread Sergey Beryozkin
Hi Ryan On Wed, Jun 29, 2011 at 9:19 PM, Ryan Zoerner wrote: > Hi Sergey, > >>>The fact you have seen EJB-related annotations being associated with a >>>given CRI instance in debugger simply confirms the fact JVM retains >>>them. But the sole responsibility of CRI is to model a JAX-RS root >>>res

Re: Bean Invoker, Proxy, EasyBeans EJB Remote Home proxy for remote calls

2011-07-01 Thread Sergey Beryozkin
ey IMHO. Cheers, Sergey > Thanks. > > Ryan > -- Sergey Beryozkin Application Integration Division of Talend http://sberyozkin.blogspot.com

Re: EJBInvoker, progress, observations, questions about EJB creation organization, other various questions.

2011-07-06 Thread Sergey Beryozkin
ssary? > > I just wanted to update you on my progress. The class-scanner in the RP > might be moved out of the RP into whatever class creates an > EJB IDeployable and packages it into a bean, returing a factory instance. > Don't worry about the class scaner for now, please try to understand how EasyBeans sets up a CXF JAX-WS endpoint and follow the same process... thanks, Sergey > Thanks, > > Ryan > -- Sergey Beryozkin http://sberyozkin.blogspot.com Talend - http://www.talend.com

rt/rs/security module

2011-07-07 Thread Sergey Beryozkin
AML authorization support as discussed earlier on, etc Just some early thoughts, comments are welcome Thanks, Sergey -- Sergey Beryozkin http://sberyozkin.blogspot.com Talend - http://www.talend.com

Re: EJBInvoker, progress, observations, questions about EJB creation organization, other various questions.

2011-07-08 Thread Sergey Beryozkin
nvoke(4 params) method > in EJBInvoker. > > Thanks, > > Ryan > > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/EJBInvoker-progress-observations-questions-about-EJB-creation-organization-other-various-questions-tp4555258p4563226.

How to initialize OpenSamlEngine on the client side

2011-07-10 Thread Sergey Beryozkin
HI I'm seeing strange test failure on JDK 5.0 (6.0 is OK), to do with OpenSaml engine failing to initialize on the client side [1], despite the fact the execution goes via WSS4J AssertionWrapper constructor which does call OpenSAMLUtil.initSamlEngine() the first thing. I think it is a side-effect

Re: EJBInvoker, progress, observations, questions about EJB creation organization, other various questions.

2011-07-12 Thread Sergey Beryozkin
s? Will it be > necessary? > > I just wanted to update you on my progress. The class-scanner in the RP > might be moved out of the RP into whatever class creates an > EJB IDeployable and packages it into a bean, returing a factory instance. > > Thanks, > > Ryan > -- Sergey Beryozkin http://sberyozkin.blogspot.com Talend - http://www.talend.com

Re: EJBInvoker, progress, observations, questions about EJB creation organization, other various questions.

2011-07-12 Thread Sergey Beryozkin
ns and thus you need to understand how CXF JAX-WS Easybeans works thanks, Sergey > So, there is my synopsis on where the answer is, and if permission, I will > create the Invoker in the steps that I described here. > > Thanks again, > > Ryan > -- Sergey Beryozkin http://sberyozkin.blogspot.com Talend - http://www.talend.com

Re: EJBInvoker, progress, observations, questions about EJB creation organization, other various questions.

2011-07-12 Thread Sergey Beryozkin
; > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/EJBInvoker-progress-observations-questions-about-EJB-creation-organization-other-various-questions-tp4555258p4563210.html > Sent from the cxf-dev mailing list archive at Nabble.com. > -- Sergey Beryozkin http://sberyozkin.blogspot.com Talend - http://www.talend.com

Re: Welcome Colm to the CXF PMC

2011-07-14 Thread Sergey Beryozkin
in CXF (and WSS4J and Santuario) and > addressing all kinds of security related questions and concerns.    He's > definitely a welcome addition to the PMC. > > Colm, welcome aboard! > > -- > Daniel Kulp > dk...@apache.org > http://dankulp.com/blog > Tal

Re: Trailing Slash added in POST

2011-07-16 Thread Sergey Beryozkin
Hi Hi folks, I'm using the JAXRSClientFactoryBean in a client to submit a POST to a remote server. I've noticed that enough though the URI I supply does not have a trailing slash and I don't supply any path parameters, the URI that is invoked has a trailing slash inserted and the remote server i

Re: Stateless EJB's and JAX-WS (no comment necessary)

2011-07-17 Thread Sergey Beryozkin
the data is a list of words that the client has uploaded in previous > requests, > across one session? > > > Ryan > > -- Sergey Beryozkin http://sberyozkin.blogspot.com Talend - http://www.talend.com

Re: Stateless EJB's and JAX-WS (no comment necessary)

2011-07-17 Thread Sergey Beryozkin
less session bean may be a web service client. > Only a *stateless *session bean may provide a web service client view. > > === > > (page 40) > ejb-3_0-fr-spec-ejbcore.pdf > EJB Final Release Spec > -- Sergey Beryozkin h

Re: Build failed in Jenkins: CXF-Trunk-JDK15 #2226

2011-07-19 Thread Sergey Beryozkin
thanks Aki hi, I replaced the usage of this jdk1.6 string method with the classical version to avoid this build error. regards, aki 2011/7/19 Apache Jenkins Server : See Changes: [sergeyb] [CXF-3662] Better support for multiple r

Re: New developer

2011-07-19 Thread Sergey Beryozkin
like to work on some demos ? Perhaps start with a couple of demos which show say Hibernate and JPA. Or are you referring to a more involved project around transactions, perhaps to do with business activities ? Sergey > Amish. > -- Sergey Beryozkin http://sberyozkin.blogspot.com Talend - http://www.talend.com

Re: svn commit: r1148432 - in /cxf/branches/2.4.x-fixes: ./ rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/ext/codegen/SourceGenerator.java

2011-07-20 Thread Sergey Beryozkin
Hi Glen @@ -583,7 +583,7 @@ public class SourceGenerator { for (int i = 0; i< responseEls.size(); i++) { String statusValue = responseEls.get(0).getAttribute("status"); try { -int status = statusValue.isEmpty

Re: New developer

2011-07-20 Thread Sergey Beryozkin
tanding that as well. > > Thanks for the response. > Amish. > > On Tue, Jul 19, 2011 at 2:44 PM, Sergey Beryozkin wrote: > >> Hi >> >> On Sun, Jul 17, 2011 at 9:06 PM, smly G wrote: >> > Hi Everyone, >> > I just joined this group and hoping to hel

Re: why path_info is contextPath + req.getPathInfo()

2011-07-25 Thread Sergey Beryozkin
Hi hi,every body when i extends CXFServlet to dispacth request by http header Content-Type,i found that in AbstractHTTPDestination#setupMessage inMessage.put(Message.REQUEST_URI, req.getRequestURI()); inMessage.put(Message.PATH_INFO, contextPath + req.getPathInfo()); the two statements above ,t

Re: XSLTJaxbProvider and json

2011-07-25 Thread Sergey Beryozkin
> > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/XSLTJaxbProvider-and-json-tp4632954p4632954.html > Sent from the cxf-dev mailing list archive at Nabble.com. > -- Sergey Beryozkin http://sberyozkin.blogspot.com Talend - http://www.talend.com

Re: XSLTJaxbProvider and json

2011-07-31 Thread Sergey Beryozkin
Hi Well, this might be getting a bit involved for this forum, but if anyone has any thoughts I would very much so appreciate hearing them. I am close to getting the XsltJsonProvider working. I actually have it working for writing, but I've run into a conceptual roadblock getting it to work for r

Re: [VOTE] CXF buildutils and xjc utils 2.4.0

2011-08-04 Thread Sergey Beryozkin
ing repo: > https://repository.apache.org/content/repositories/orgapachecxf-007/ > > > This vote will stay open for at least 72 hours. > > Here is my +1 > > -- > Daniel Kulp > dk...@apache.org > http://dankulp.com/blog > Talend - http://www.talend.com -- Sergey Beryozkin http://sberyozkin.blogspot.com Talend - http://www.talend.com

Re: rt/rs/security module

2011-08-08 Thread Sergey Beryozkin
ve any comments Sergey On Thu, Jul 7, 2011 at 5:05 PM, Sergey Beryozkin wrote: > Hi, > > I'm starting experimenting with XML and SAML security, it's the early > days, but I'm thinking of > introducing a rt/rs/security top-level module, which will have > > 1. rt/rs/

Re: [VOTE] Release Apache CXF 2.3.6 and 2.4.2. - take 2

2011-08-11 Thread Sergey Beryozkin
gt; > This release is tagged at: > http://svn.apache.org/repos/asf/cxf/tags/cxf-2.4.2 > http://svn.apache.org/repos/asf/cxf/tags/cxf-2.3.6 > > > This vote will be open for at least 72 hours. > > > -- > Daniel Kulp > dk...@apache.org > http://dankulp.com/blog > Talend - http://www.talend.com -- Sergey Beryozkin http://sberyozkin.blogspot.com Talend - http://www.talend.com

Re: Proxies as abstract classes?

2011-08-15 Thread Sergey Beryozkin
ility or practicality of generating a > concrete subclass of an abstract class as a proxy? All the standards > we conform to are relentless about interfaces, aren't they? > -- Sergey Beryozkin http://sberyozkin.blogspot.com Talend - http://www.talend.com

Re: Proxies as abstract classes?

2011-08-15 Thread Sergey Beryozkin
nting any interfaces at all, this is why I'm finding it useful when writing tests :-) Cheers, Sergey > -- > Daniel Kulp > dk...@apache.org > http://dankulp.com/blog > Talend - http://www.talend.com > -- Sergey Beryozkin http://sberyozkin.blogspot.com Talend - http://www.talend.com

Re: POST request : List input through JSON not being recognized

2011-09-10 Thread Sergey Beryozkin
Hi redirecting to the users list... What exception is thrown ? May be it should be "{"Users":"", note capital 'U' cheers, Sergey On 09/09/11 17:34, ZenEighth wrote: Hi, Using CXF 2.4.2, developing a JAX-RS and JAX-WS combined webservice, which use the same method. Am trying to invoke a POST

Re: [DISCUSS] - STS framework implementation contribution

2011-09-15 Thread Sergey Beryozkin
Hi On Thursday, September 15, 2011 3:27:06 PM Colm O hEigeartaigh wrote: In my opinion, this implementation will greatly enhance CXF's security story and will help to drive new users to the product. I would like to ask the CXF community for their opinion on this contribution (+1/-1?). A

OAuth 1.0 contribution on the trunk

2011-09-19 Thread Sergey Beryozkin
Hi I've been working during the last week exclusively on migrating a GSOC 2010 contribution from Lukasz Moren to the trunk. It proved to be a high quality contribution - many thanks to Lukasz. I've spent most time last week on trying to make things as simple/trivial as possible, as far as use

Removing two more modules ?

2011-09-20 Thread Sergey Beryozkin
Hi What do you think of dropping a couple of modules for 2.5: - both rt-bindings-local and rt-bindings-object seem to do the same thing, I recall there were some interesting discussions around these two modules awhile back :-), but today I guess it's more important which module we actually en

Re: [DISCUSS] Move some modules around

2011-09-28 Thread Sergey Beryozkin
+1. I'm also thinking of splitting rt/frontend/jaxrs a bit later on, to have the core module, the existing client API which I'd like to maintain after moving to jaxrs 2.0, and a module containing various extensions Cheers, Sergey On 27/09/11 20:45, Daniel Kulp wrote: I'd like to move some

Re: [VOTE] Release Apache CXF 2.3.7 and 2.4.3.

2011-10-04 Thread Sergey Beryozkin
+1 On 04/10/11 19:24, Jeff Genender wrote: +1 Jeff On Oct 4, 2011, at 11:09 AM, Daniel Kulp wrote: We've resolved over 94 issues since 2.4.2 and thus is time for a release and over 40 issues ported back for 2.3.7. List of issues: 2.4.3: https://issues.apache.org/jira/secure/ReleaseNote.j

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-10-07 Thread Sergey Beryozkin
Hi I think I like all the options you suggested :-) Please see comments inline On 07/10/11 19:51, K Fung wrote: Hi everyone, (long time lurker here ... thought it was about them we started to contribute something back) As everyone who's played with CXF JAX-RS and OSGI knows, it's not too eas

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-10-09 Thread Sergey Beryozkin
kl On Fri, Oct 7, 2011 at 1:29 PM, Sergey Beryozkin wrote: Hi I think I like all the options you suggested :-) Please see comments inline On 07/10/11 19:51, K Fung wrote: Hi everyone, (long time lurker here ... thought it was about them we started to contribute something back) As everyone wh

Re: JSON ignore namespace behavior in IgnoreContentJettisonWriter

2011-10-10 Thread Sergey Beryozkin
Hi I think I got that fixed for the now being released 2.4.3 and 2.3.7, I updated that code to block 'nil' attribute too. so, now it looks like this if (!writeXsiType && "xsi".equals(prefix) ("type".equals(local) || "nill".equals(local))) { return; } Alternatively you can set a

Re: JSON ignore namespace behavior in IgnoreContentJettisonWriter

2011-10-10 Thread Sergey Beryozkin
Hi On 10/10/11 17:44, K Fung wrote: Hi Sergey, I should have checked trunk before writing that e-mail :( no problems :-) It is indeed fixed in trunk (and thus I assume the latest 2.3.x and 2.4.x). Yes. Cheers, Sergey Thanks for the timely reply! Regards, kl On Mon, Oct 10, 2011 at

Re: Trailing Slash added in POST

2011-10-11 Thread Sergey Beryozkin
Hi Mark On 10/10/11 14:40, KramKroc wrote: Hi Sergey, thanks for the pointer. I recently had to look at this again as the code I added was not too robust :) Could you point me at the ticket that was raised originally for this issue or else where abouts in the code (class?) that the fix was plac

Re: rest matching patterns

2011-10-12 Thread Sergey Beryozkin
Hi That must work, which CXF version do you use ? I've added a test locally and it just works, see the diff below as this has to be already tested on the trunk, so I'm not merging it at the moment. Try please 2.3.7/2.4.3 thanks, Sergey Index: src/test/java/org/apache/cxf/systest/jaxrs/JAX

Re: rest matching patterns

2011-10-13 Thread Sergey Beryozkin
2.4.2 - give it a try please thanks, Sergey - Romain 2011/10/12 Sergey Beryozkin Hi That must work, which CXF version do you use ? I've added a test locally and it just works, see the diff below as this has to be already tested on the trunk, so I'm not merging it at the moment.

Re: rest matching patterns

2011-10-13 Thread Sergey Beryozkin
o/bar here id and bar have different types so it doesn't match. am i wrong? - Romain 2011/10/13 Sergey Beryozkin Hi On 12/10/11 21:34, Romain Manni-Bucau wrote: Hi, thanks for this reply, i use cxf through OpenEJB and the version is the 2.4.1, do you know if it was already included?

Re: rest matching patterns

2011-10-13 Thread Sergey Beryozkin
e 1 foo() Signature 2 foo(Long l) - Romain Le 13 oct. 2011 17:55, "Sergey Beryozkin" a écrit : It does not work with 2.4.2 ? Can you also send me the signature of the 2 methods ? cheers, Sergey On 13/10/11 16:46, Romain Manni-Bucau wrote: it doesn't seem to work, maybe because

Re: rest matching patterns

2011-10-13 Thread Sergey Beryozkin
he error is the same. There is no consume (so no filtering at this level). - Romain 2011/10/13 Sergey Beryozkin Give me the complete info please: @PathParam, HTTP verb present on both methods or not, @Consumes/@Produces, I'm assuming it is @Path("/foo/bar") for foo() and @Path("/foo/

Re: rest matching patterns

2011-10-14 Thread Sergey Beryozkin
np, having an extra test won't be a problem :-) Cheers, Sergey On 13/10/11 22:40, Romain Manni-Bucau wrote: yep in 2.4.3 it works (i think the snapshot was not deployed last time) sorry the my last useless mail and thank you very much for your time - Romain 2011/10/13 Sergey Beryozkin

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-10-18 Thread Sergey Beryozkin
Hi Thanks for this patch, I think it's a nice interesting example, shows the bare Activator and ServiceTracker in action... Please see comments inline On 18/10/11 05:28, K Fung wrote: Hi all, I've uploaded the initial code sample to https://issues.apache.org/jira/browse/CXF-3859 to garner t

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-10-19 Thread Sergey Beryozkin
, MessageReaderWriter/Reader services, etc Cheers, Sergey On 18/10/11 14:18, Sergey Beryozkin wrote: Hi Thanks for this patch, I think it's a nice interesting example, shows the bare Activator and ServiceTracker in action... Please see comments inline On 18/10/11 05:28, K Fung wrote: Hi all,

Re: [VOTE] Release Apache CXF 2.5.0

2011-10-31 Thread Sergey Beryozkin
+1 Thanks, Sergey On 2011-10-29, at 上午7:32, Daniel Kulp wrote: It's been over 6 month since 2.4.0 was released. Since then, we've added quite a bit of new functionality, new features, enhancements, etc... Thus, time for a release! The maven staging area: https://repository.apache.org/conte

Re: [VOTE] Release Apache CXF 2.4.4-3rd try

2011-11-07 Thread Sergey Beryozkin
+1 Sergey On 04/11/11 13:58, Freeman Fang wrote: Hi All, We've resolved over 35 issues since 2.4.3 and thus is time for a release. List of issues: 2.4.4: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310511&version=12318347 The Maven staging areas are at: 2.4.4: https://r

Re: CORS

2011-11-07 Thread Sergey Beryozkin
Hi Benson On 07/11/11 04:04, Benson Margulies wrote: Has anyone considered adding CORS (http://www.w3.org/TR/cors/) to CXF REST services? Obviously, it could be coded one service at a time, but it looks handy. Can you look at http://cxf.547215.n5.nabble.com/CORS-Interceptor-Filter-Endpoint-td4

Re: CORS

2011-11-07 Thread Sergey Beryozkin
say a cxf-rt-rs-security-cors module under rt/rs/security Cheers, Sergey On Mon, Nov 7, 2011 at 9:10 AM, Sergey Beryozkin wrote: Hi Benson On 07/11/11 04:04, Benson Margulies wrote: Has anyone considered adding CORS (http://www.w3.org/TR/cors/) to CXF REST services? Obviously, it could be co

Re: CORS

2011-11-11 Thread Sergey Beryozkin
On 11/11/11 01:30, sergkorney wrote: Let start from adding JAX-RS CORS filter. I think mostly CORS support is really needed for RESTful services. I'm new to CXF but have some experience with using CORS filter mentioned here http://software.dzhuvinov.com/cors-filter.html http://software.dzhuvinov

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-11-11 Thread Sergey Beryozkin
Hi, how is your demo going, hope I haven't discouraged with my comments :-) Sergey On 19/10/11 10:28, Sergey Beryozkin wrote: By the way, at the next stage we can also probably create the Activator part in the jaxrs fronentend/osgi - this can be optionally enabled and what it will do it

Re: CORS

2011-11-13 Thread Sergey Beryozkin
Very good, thanks, On 11/11/11 19:46, sergkorney wrote: Thank you very much for the hint. I have added initial draft to support handling authenticated CORS requests for GET methods. And it works just fine (with cxf 2.5.0). Here is jaxrs input filter : public class JaxrsCorsInputFilter implement

Re: CORS

2011-11-13 Thread Sergey Beryozkin
Hi, On 12/11/11 07:35, K Fung wrote: Hello, Are there any plans to expand this code so that covers both 5.1 and 5.2 of the CORS specification (http://www.w3.org/TR/cors?) In particular, - Not blocking the request of it's an OPTIONS request but doesn't contain the Origin header agreed, a JAX

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-11-14 Thread Sergey Beryozkin
ers, kl On Fri, Nov 11, 2011 at 9:03 AM, Sergey Beryozkinwrote: Hi, how is your demo going, hope I haven't discouraged with my comments :-) Sergey On 19/10/11 10:28, Sergey Beryozkin wrote: By the way, at the next stage we can also probably create the Activator part in the jaxrs frone

Re: CORS

2011-11-18 Thread Sergey Beryozkin
} } return null; } } -- View this message in context: http://cxf.547215.n5.nabble.com/CORS-tp4970153p5001897.html Sent from the cxf-dev mailing list archive at Nabble.com. -- Sergey Beryozkin http://sberyozkin.blogspot.com Talend Community Coders http://coders.talend.com/

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-11-23 Thread Sergey Beryozkin
y stumping me, I'll need to see how ServiceMix makes it work in Java 5) + Remove excess repositories from the pom.xml + Parent pom.xml should compile JAX-RS OSGi sample + Any others? Sounds good, thanks Sergey Regards, kl -- Sergey Beryozkin http://sberyozkin.blogspot.com Talend Community Coders http://coders.talend.com/

Re: CORS

2011-11-23 Thread Sergey Beryozkin
GIN, values); } } return null; } } -- View this message in context: http://cxf.547215.n5.nabble.com/CORS-tp4970153p5001897.html Sent from the cxf-dev mailing list archive at Nabble.com. -- Sergey Beryozkin http://sberyozkin.blogspot.com

Re: Test Cases failing due to double slash in the URL generated by CXF

2011-11-23 Thread Sergey Beryozkin
-- View this message in context: http://cxf.547215.n5.nabble.com/Test-Cases-failing-due-to-double-slash-in-the-URL-generated-by-CXF-tp5016478p5016478.html Sent from the cxf-issues mailing list archive at Nabble.com. -- Sergey Beryozkin http://sberyozkin.blogspot.com Talend Community Coders http://coders.talend.com/

Re: Upgrading from 2.1.4 to 2.1.9

2011-11-23 Thread Sergey Beryozkin
ble and trying to see if that fixes things. OK, I'll try it, hoping there will not be migration problem Thanks, matiou -- View this message in context: http://cxf.547215.n5.nabble.com/Upgrading-from-2-1-4-to-2-1-9-tp5009968p5016781.html Sent from the cxf-dev mailing list archive at Nabble.com. -- Sergey Beryozkin http://sberyozkin.blogspot.com Talend Community Coders http://coders.talend.com/

Re: How to contribue a CXF JAX-RS OSGi Sample?

2011-11-24 Thread Sergey Beryozkin
nting with this issue, it may be possible to get around this by making the minimalosgi bundle a fragment bundle of the CXF bundle but I haven't clearly thought about the consequences of doing so yet. Can be worth experimenting in some time too Thanks, Sergey -kl -- Sergey Beryozkin

Re: Test Cases failing due to double slash in the URL generated by CXF

2011-11-28 Thread Sergey Beryozkin
://cxf.547215.n5.nabble.com/Test-Cases-failing-due-to-double-slash-in-the-URL-generated-by-CXF-tp5016478p5024360.html Sent from the cxf-issues mailing list archive at Nabble.com. -- Sergey Beryozkin Talend Community Coders http://coders.talend.com/ Blog: http://sberyozkin.blogspot.com

Re: 'parsing failed' -- detecting invalid headers

2011-11-30 Thread Sergey Beryozkin
On 30/11/11 15:21, Benson Margulies wrote: In many cases, http://www.w3.org/TR/cors/#resource-preflight-requests calls for the service to note the presence of an invalid header differently from no header at all. Have we got any way to keep track of this? or do we already reject requests with 'im

Re: Failing to set an Origin header with a WebClient

2011-12-01 Thread Sergey Beryozkin
gin + "/"); // Since our WebClient doesn't know from Origin, we need to do this ourselves. wc.header("Origin", origin); Response r = wc.replacePath("/simpleGet/HelloThere").accept("text/plain").get(); assertEquals

Re: [proposal] Cross-Origin JAX-RS annotations

2011-12-01 Thread Sergey Beryozkin
On 01/12/11 14:51, Benson Margulies wrote: I propose to add the following @CorsAllowAllOrigins @CorsAllowOrigins( "origin1.", ... "originN" ) @CorsAllowMethods( "meth1" ... "methn" ) @CorsExposeMethods( ... ) @CorsMaxAge(integer) @CorsAllowCredentials(boolean) and make the filter look for them

Re: [proposal] Cross-Origin JAX-RS annotations

2011-12-01 Thread Sergey Beryozkin
On 01/12/11 15:51, Benson Margulies wrote: On Thu, Dec 1, 2011 at 10:34 AM, Sergey Beryozkin wrote: On 01/12/11 14:51, Benson Margulies wrote: I propose to add the following @CorsAllowAllOrigins @CorsAllowOrigins( "origin1.", ... "originN" ) @CorsAllowMethods

Re: CORS

2011-12-01 Thread Sergey Beryozkin
On 01/12/11 14:01, Benson Margulies wrote: I've created org.apache.cxf.jaxrs.cors.CrossOriginResourceSharingFilter, which is gradually learning to pass all the tests I'm figuring out to write. It is a complete implementation of the spec AFAICT. Thanks Benson for doing it :-) Cheers, Sergey

Re: Failing to set an Origin header with a WebClient

2011-12-01 Thread Sergey Beryozkin
Hi Dan On 01/12/11 16:09, Daniel Kulp wrote: On Thursday, December 01, 2011 10:04:27 AM Sergey Beryozkin wrote: Hi Benson so HTTPUrlConnection drops 'Origin' ? It's unfortunate. It seems we'd need to look into some sort of integration with Apache Http Client at some time,

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