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

CXF assumes overloaded operation on multiple interface extension.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.9
    • Fix Version/s: 2.7
    • Component/s: Simple Frontend
    • Labels:
      None
    • Environment:

      Windows Vista, jdk1.6.0_14

      Description

      If a service extends two interfaces which both extend (directly or indirectly) another (but exactly the same) interface containing a method signature, CXF throws the "An operation with name [...] already exists in this service" Exception.
      CXF assumes that there are two different overloading methods, but it's the same method with the same signature.

      Example:

      public interface A extends B1, B2

      public interface B1 extends C

      public interface B2 extends C

      public interface C
      {
      public String test();
      }

      This results in "An operation with name [

      {http://foo.bar/}

      test] already exists in this service"

      It would be great if CXF could handle such a case, maybe by just accepting identical signature methods.

        Attachments

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              strider David Wettig
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: