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

wsdl2java generate incorrect annotations when declared multiple faults

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 3.3.4
    • Fix Version/s: None
    • Component/s: Tooling
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Action:

      wsdl2java -p play.soap.testservice.client helloWorld.wsdl
      

      Expected (HelloWorld.java):

      @Action(fault = {
        @FaultAction(className = ActionException_Exception.class, value = "test"),
        @FaultAction(className = HelloException_Exception.class),
      })
      

      Was(HelloWorld.java):

      @Action(fault = {
        @FaultAction(className = ActionException_Exception.class, value = "test")
      })
      

        Attachments

        1. helloWorld.wsdl
          4 kB
          Sergey Morgunov

          Activity

            People

            • Assignee:
              coheigea Colm O hEigeartaigh
              Reporter:
              ihostage Sergey Morgunov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: