Normally WSDL2Java generates an exception class for every
wsdl:fault - message. The only problem is, that you can't define
more than one fault-message for a soap-message although the
wsdl spec says, that zero to endless is possible.
Best Regards,
Dennis Reil
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 28, 2002 5:07 PM
Subject: RE: Own SOAP faultcodes in AXIS
And what's more: is it possible to define structured SOAP faults ?
I mean if the fault detail in the WSDL contains some XML structure,
will this be constructed by AXIS ? Will some Exception class be
generated by WSDL2Java ?
> Hi,
>
> AXIS normally uses the SOAP faultcode: "Server.userException". Is it
> possible to define my own SOAP faultcodes, and my own mapping
> from Java
> Exceptions to SOAP faultcodes?