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

Add support for nested @BeanParam's

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.4
    • 3.0.7, 3.1.4
    • JAX-RS
    • None
    • CXF JAX-RS client proxy, JDK8, Windows 7 64bit

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: