axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dimuthu Leelarathne" <muthu...@vijayaba.cse.mrt.ac.lk>
Subject Re: Unwrapping AxisFaults - urgent
Date Tue, 17 Sep 2002 08:43:40 GMT
Hi Alireza,

> Is there a utility like AxisFault.makeFault(Exception), but working in
> the opposite way ?

I don't know any easy way (such as you ask in the question), but I can show
you a hard way.

The SecurityException is in the "detail" part of the response message. So
the SecurityException will be stored as an array of Elements in the
AxisFault. You can get this array of Element from AxisFault and recreate the
SecurityException at the client side.

Dimuthu.

----- Original Message -----
From: "Alireza Taherkordi" <Taherkordy@dpi2.dpi.net.ir>
To: <axis-dev@ws.apache.org>
Sent: Wednesday, September 17, 2003 3:53 AM
Subject: Unwrapping AxisFaults - urgent


> Hi,
>
> anyone knows how to unwrap AxisFaults ?
>
> I have a SecurityException thrown on server side. This is wrapped into an
> AxisFault and sent to the client, which expects a SecurityException, not
> an AxisFault.
>
> Is there a utility like AxisFault.makeFault(Exception), but working in
> the opposite way ?
>
> I asked such a question in Axis-user but I didn't
> get any helpful reponse.
> I'd greatly appreciate any help,
>
> Alireza
>




Mime
View raw message