Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6623

Add support for nested @BeanParam's

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.4
    • Fix Version/s: 3.0.7, 3.1.4
    • Component/s: JAX-RS
    • Labels:
      None
    • Environment:

      CXF JAX-RS client proxy, JDK8, Windows 7 64bit

    • Estimated Complexity:
      Unknown

      Description

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

      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);
      }
      

      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.

        Attachments

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              vguna Veit Guna
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: