Hi,
I' ve defined a service which does NOT throw a exception. But the handler
in the global
handler chain could throw exceptions. If that happens I got a NullPointerException at
org.apache.axis.message.SOAPFault line 184
handler chain could throw exceptions. If that happens I got a NullPointerException at
org.apache.axis.message.SOAPFault line 184
My handler exceptions extend AxisFault and so the following code is
invoked:
....
if (! cls.equals(AxisFault.class)) {
FaultDesc faultDesc =
context.getMessageContext().getOperation().getFaultByClass(cls);
qname = faultDesc.getQName();
}
....
if (! cls.equals(AxisFault.class)) {
FaultDesc faultDesc =
context.getMessageContext().getOperation().getFaultByClass(cls);
qname = faultDesc.getQName();
}
Because my service does not throw a exception the getFaultByClass(cls) call
could not find a
FaultDesc and returns null.
FaultDesc and returns null.
Does anybody know if this is a bug in the code or am I wrong whith the
handling of axis ?
Regards
Oliver
