[
https://issues.apache.org/jira/browse/CXF-6623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14944849#comment-14944849
]
Sergey Beryozkin commented on CXF-6623:
---------------------------------------
As it happens CXF does not support nested BeanParams on the server side too.
I'm investigating right now if supporting nested BeanParams is limited to
Jersey only or if it is indeed a 2.0 feature.
All the external documentation I've seen does not mention the use of nested
BeanParams - this is not a problem for us from a technical point of view -
however it introduces a complexity factor (to do with preventing the
recursiveness, etc).
Can you please give me a favour and confirm it does indeed work with Jersey -
you said in the description that it "seems to work".
Thanks
> Add support for nested @BeanParam's
> -----------------------------------
>
> Key: CXF-6623
> URL: https://issues.apache.org/jira/browse/CXF-6623
> Project: CXF
> Issue Type: Improvement
> Components: JAX-RS
> Affects Versions: 3.0.4
> Environment: CXF JAX-RS client proxy, JDK8, Windows 7 64bit
> Reporter: Veit Guna
>
> I'm using Apache CXF 3.0.4 on client side against a Jersey based REST
> service.
> On client side I'm using the CXF client proxy using the server side
> interface classes.
> It seems that nested _@BeanParam_'s doesn't seem to be supported, since using
> them does not have any affect.
> Having (pseudocode):
> {code}
> class A {
> @BeanParam
> B b;
> set(B b);
> B get();
> }
> class B {
> @QueryParam("foo")
> String bar;
> set(String bar);
> String get();
> }
> Interface {
> @BeanParam
> something(A a);
> }
> {code}
> Invoking Jersey's endpoint manually giving the query params seem to
> work without a problem.
> So it would be great, if this would be supported on CXF client side as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)