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 "Kedar, Shahar" <Sh...@softwareag.com> on 2006/11/23 10:13:32 UTC

[Axis2] Exception initialization

Hi,

 

I've generated server side code using Axis2 and ADB databinding. In
addition to the skeleton, message receiver and schema classes, Axis2
also generates exception and fault classes for each operation. My first
question is - WHY??

OK... assuming that those exceptions are necessary, what is the role of
the fault classes? And why do I have to initialize them with OMElement?
Why can't each method throw and AxisFault that translates to a standard
SOAP exception?

 

Thanks,

Shahar Kedar

Software AG Israel