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

WSDL2JAVA: generated serialVersionUID on @WebFault exceptions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.8
    • 2.2.9
    • Tooling
    • None

    Description

      serialVersionUID inside the faults (i.e.: the java exceptions) created by the cxf-codegen-plugin have a value which is equal to yyyyMMddHHmmss of the time when the artifact containing the WSDL is produced. This behaviour cannot be changed currently.

      Please refer to: http://old.nabble.com/WSDL2JAVA%3A-generated-serialVersionUID-on-%40WebFault-exceptions-td28526170.html

      Proposed solution:
      add a "-useFQCNForFaultSerialVersionUID" flag (true/false) on the WSDL2Java plugin that enables the generation of a serialVersionUID based on the hashcode of the fully qualified class name of the exception(s).

      Attachments

        1. cxf-2808.patch
          9 kB
          Julien Jean Paul Sirocchi

        Activity

          People

            dkulp Daniel Kulp
            sirocchj Julien Jean Paul Sirocchi
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: