Hans,

This is a bug.  I reported this a few weeks ago, and it seems to have
been fixed for a future release:
https://issues.apache.org/jira/browse/AXIS2-2759

Have a great day,

Susie


On 6/25/07, Hans Benedict <[EMAIL PROTECTED]> wrote:

Hi,

I am building a simple POJO based web service offering two methods which
both throw the same custom exception:

public String getA(String x) throws WsException {...}

public String getB(String y) throws WsException {...}

WsException is extending AxisFault.

The generated wsdl file (.../axis2/services/ab?wsdl - see attachment)
then contains *two* elements named WsExceptionFault. On validation of
the file this leads to an error:
Duplicate key value [WsExceptionFault] declared for identity constraint
"element" of element "schema".

Is this a bug or am I missing something?

My environment:
axis2 1.2
tomcat 5.5.23
jdk-1_5_0_11
debian sarge

Kind regards,
Hans Benedict

--
Hans Benedict               | Freie Universität Berlin
                           | Zentraleinrichtung für Datenverarbeitung
Tel.  : +49 30 838 56531    | FU Directory and Identity Service (FUDIS)
Fax.  : +49 30 838 56721    | Fabeckstr. 32, 14195 Berlin, Germany


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to