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

wadl2java: generate throws declaration for fault response

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.4
    • Fix Version/s: 3.2.5
    • Component/s: Tooling
    • Labels:
      None
    • Estimated Complexity:
      Unknown
    • Flags:
      Patch

      Description

      According to [1] the response status attribute can contains status code. In case 4xx-5xx representation/param/@type can be set to java exception class name.

      Previously the impl can use unchecked exceptions only with raw ResponseExceptionMapper<Exception> on client side.

      1. https://www.w3.org/Submission/wadl/#x3-200002.10

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                amarkevich Alexey Markevich
                Reporter:
                amarkevich Alexey Markevich
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: