[
https://issues.apache.org/jira/browse/CXF-6623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14945173#comment-14945173
]
Veit Guna commented on CXF-6623:
--------------------------------
I meant, that I didn't encounter and problems during my test :). I simply
invoked the endpoint with foo=bar and Jersey created bean A,B and set the value
correctly.
Although I can't say for sure, if it's a jax-rs or jersey specific feature.
I'll try to find out and report back.
> 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)