No, you don't have to do it manually. Just make sure that your WSDL 
correctly reflects the structure of MyException. I found that java2wsdl 
tool somehow misses the structure of application-specific exceptions. 
To get hold of the exception use try-catch mechanism. Note that 
MyException should subclass AxisFault. 

If you still have problems then let me know so that I can send you a 
sample code.

I hope that helps.
 
Sunil Kothari
----- Original Message -----
From: Mariano Eloy Fernández <[EMAIL PROTECTED]>
Date: Wednesday, February 23, 2005 1:45 pm
Subject: Re: How do I deserialize the detail field in AxisFault to 
build MyException?

> Hi,
> 
> Some additional notes.
> The XML comes in a protected attrbute called faultDetails, 
> inaccesible.The public detail field is null.
> The question stands, How do I build MyException from this AxisFault?
> 
> Thanks,
> 
> Mariano.
> 
> Mariano Eloy Fernández wrote:
> 
> > Hello,
> >
> > I am working with Axis 1.1
> > I have a class MyException extends Exception thrown in the Web 
> > Service. Both De/Serializer are provided for MyException.
> > An AxisFault is received in the client with MyException as an 
> XML in 
> > the detail field of AxisFault.
> > How do I build MyException from that XML? Do I have to do it 
> manually? 
> > Then what's the MyExceptionDe/Serializer for?
> >
> > Thanks,
> >
> > Mariano Eloy Fernández.
> >
> 
>

Reply via email to