WSDL Generation creates duplicates element definition in WSDL
--------------------------------------------------------------
Key: AXIS2-2651
URL: https://issues.apache.org/jira/browse/AXIS2-2651
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Affects Versions: 1.2
Environment: Java/Windows/Standalone
Reporter: Rakesh
Hi,
We have a bunch of functions under a service. All the functions throw
AxisFault. We don't have any wsdl. The problem is that the wsdl that is
generated automatically, has the element definition for AxisFaultFault:
<PRE>
<xs:element
name="AxisFaultFault">
<xs:complexType>
<xs:sequence>
<xs:element
name="AxisFault"
nillable="true"
type="ns14:AxisFault" />
</xs:sequence>
</xs:complexType>
</xs:element>
</PRE>
repeated as many times as the number of functions that throw AxisFault. This
inturn causes some problem with other wsdl to code generators, which break
throwing a duplicate element defintion exception.
Apparently the older version (1.0 atleast), never used to generate the
exception information as a part of the WSDL (the fault information had to be
created manually then though)
I hope the information above is sufficient enough to verify the issue I am
raising.
Thanks,
Rakesh.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]