Sergey Morgunov created CXF-8146:
------------------------------------

             Summary: wsdl2java generate incorrect annotations when declared 
multiple faults
                 Key: CXF-8146
                 URL: https://issues.apache.org/jira/browse/CXF-8146
             Project: CXF
          Issue Type: Bug
          Components: Tooling
    Affects Versions: 3.3.4
            Reporter: Sergey Morgunov
         Attachments: helloWorld.wsdl

Action: 
{code:bash}
wsdl2java -p play.soap.testservice.client helloWorld.wsdl
{code}

Expected ({{HelloWorld.java}}):

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

Was({{HelloWorld.java}}):
{code:java}
@Action(fault = {
  @FaultAction(className = ActionException_Exception.class, value = "test")
})
{code}




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to