RE: Exception Handling - possible solution

2004-04-02 Thread sacha
> Axis now uses the element in the fault to locate the correct > Exception class. A table of QNames to Exception class names is kept and > each child element of is looked up in this table until we find a > match (or don't, then we throw an AxisFault). Well, as I saw in source code, there's no p

Re: custom  exceptions

2004-03-29 Thread sacha
> Have you tried extending AxisFault? That's what we do and it seems to work well enough... Hi. Thanx for reply. I don't think it is a right way. It strictly tides You to axis architecture of Your service. In my situation I want to have web service interface to EJB deployed on JBoss. Methods of

custom exceptions

2004-03-26 Thread sacha
Hi. Has anybody any experience with custom exceptions in axis? I tried to throw my own checked exception, but always get AxisFault, containing only stack trace as details and Server.userException as a fault code. I looked into the axis source code and it seems there is no way to throw custom exce