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

Illegal method arguments generated by Wadl2Java

    XMLWordPrintableJSON

Details

    • Moderate

    Description

      I am trying to generate the JAX-RS interfaces from a public twitter wadl . The generated methods contained arguments that conflicted with java reserved keywords (ex: String long), or illegal ":" (ex: String attribute:street_adress) .

      I looked at the original code (SourceGenerator.java), and will attach a proposed patch that seems to work for me

      Attachments

        1. SourceGenerator.java.patch
          1 kB
          Emmanuel Texier
        2. twitter-wadl.xml
          182 kB
          Emmanuel Texier

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            etexier Emmanuel Texier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: