axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Weindel (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2-728) Generated WSDL contains duplicate fault messages if multiple operations define some fault
Date Sat, 13 May 2006 21:46:09 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-728?page=all ]

Martin Weindel updated AXIS2-728:
---------------------------------

    Attachment: fault-patch.txt

Patch for org.apache.axis2.description.AxisService2OM (core module).
The changed code remembers all fault messages already generated and suppresses redundant fault
message printing.

> Generated WSDL contains duplicate fault messages if multiple operations define some fault
> -----------------------------------------------------------------------------------------
>
>          Key: AXIS2-728
>          URL: http://issues.apache.org/jira/browse/AXIS2-728
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: core
>     Versions: 1.0
>     Reporter: Martin Weindel
>  Attachments: axis2-services-xxx.wsdl, demo-fault.wsdl, fault-patch.txt
>
> To reproduce the bug, use the attached file demo-fault.wsdl to generate a AAR with WSDL2Java.
> The defined service contains a port type with two methods. Both methods can throw the
same fault ("DemoFault" called in the example). If you now deploy this service and retrieve
the WSDL from the axis2 server, it contains two duplicate definitions of the fault message
(see attached file axis2-services-xxx.wsdl).
> This causes several client code generators to fail with errors.
> I have added a patch for org.apache.axis2.description.AxisService2OM fixing this behaviour.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message