According to SOAP API JavaDoc it is possible to construct a SOAPException and
including a 'target exception' of Throwable type. I have not done this myself but I
assume that it is possible to use this. If you are using a 'selfmade' exception I
think you have to declare its type in your service deployment. In SOAPException class
it is possible to call getRootException().
>From Response class you can get a Fault instance. But from Fault instance there is
>not obvious method for receiveing SOAPException. Fault.getFaultEntries() returns a
>Vector, but the doc doesn't say what that vector contains (at least not in version
>2.2).
Sorry that I could not give you a direct help. I will have a go when my damned version
management works again.
Regards, Micael Ericsson
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 21, 2001 1:55 PM
To: [EMAIL PROTECTED]
Subject: How to throw an Exception through SOAP???
Hello together,
My Soap Server is calling an EJB and this is returning a selfmade Exception.
How can I get this Exception on Client side???
I receive nothing!!!
Has anyone an idea?
P.S. I am catching on client side Exception and also Throwable.
Thanks in advance
Mario
---------------------------------------------------------------------
This message is intended for the addressee or its representative only. Any
form of unauthorized use, publication, reproduction, copying or disclosure
of the content of this e-mail is not permitted. If you are not the intended
recipient of this e-mail message and its contents, please notify the sender
immediately and delete this message and all its attachments subsequently.