Thanks, Paul, that's indeed a possibility.

But wouldn't it be nice to define a mapping between a Java Exception
class and a SOAP faultcode in the WSDD? That way my server-side code
wouldn't need to subclass AXIS classes.

Arne


Paul Hunnisett wrote:
> I'm not really an expert, so I could be wrong here - or just 
> plain missing the point, but AxisFault extends Exception - 
> you could therefore write a class that extends AxisFault and 
> it would be caught by code expecting an AxisFault.  
> 
> On Tue, 2002-05-28 at 16:03, Arne M. Degenring wrote:
> > 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?

Reply via email to