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

wsdl2java generates exceptions which do not follow naming convention

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.3
    • Fix Version/s: 3.5.0, 3.3.8, 3.4.1
    • Component/s: JAXB Databinding
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      wsdl2java generates wrapper exception class for fault bean. The generated exception has method getFaultInfo(). This method name is correct according to JAX-WS specification. However this method returns fault bean stored in a field called "name of fault bean". The name of the field and getter do not follow the naming convention. Why this field is not called "faultInfo"?

      I believe a template responsible for generating exceptions is here:

      excxf-tools-wsdlto-frontend-jaxws-3.3.3.jar!\org\apache\cxf\tools\wsdlto\frontend\jaxws\template\fault.vm

      public $field.ClassName getFaultInfo() {
      return this.$paraName;

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                reta Andriy Redko
                Reporter:
                xardasos Tomasz Zorawik
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: