You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Fabien Guinet <fa...@inovatel.com> on 2003/01/28 11:28:28 UTC
WSDL2J and Multiple "fault message" per operation !
Hello,
I try to define multiple fault message on a single operation:
<operation name="foobar">
<input message="tns:foobarRequest"/>
<output message="tns:foobarResponse"/>
<fault message="tns:FoobarException"/>
<fault message="common:FoobarException2"/>
<fault message="common:FoobarException3"/>
</operation>
But only the last exception class is generated i.e. FoobarException3 and the
others aren't (NOTE: they are also not thown in the method foobar generated
from this operation).
Is this a well known bug ? Is there a fix or a workaround ?
Many thanks for your help,
Fabien