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

Incorrect Interface Method Name Generation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.18
    • 3.1.5, 3.0.8, 3.2.0
    • JAX-RS
    • None
    • Unknown

    Description

      The issue is with interface name that gets generated if there is a special character in the Resource Path. For ex:

      Service Impln defn:

      @Post
      @Path("get-add")
      public Result add(Int a){
      }

      When we generate client interface using WADL (which is generated from the above service definition) , then interface name has the following structure:

      @Path("get-add")
      public Result postGet-add(Int a);

      We are using WADLTOJAVA for client interface generation.

      The above method name violates JAVA METHOD NAMING conventions.
      which results in compilation errors.

      Can you please let me know if there is a solution currently available for this.

      Thanks and Regards,
      Bharat Savanur

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            bsavanur Bharat Savanur
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: