Re: fault listener

"Scott Nichol" <[email protected]>
Newsgroups gmane.text.xml.soap.user
Message-ID <044701c44d0c$f9fb9fa0$6401a8c0@northgate>
----- Original Message ----- 
From: <[email protected]>
To: <[email protected]>
Sent: Monday, June 07, 2004 7:55 PM
Subject: Re: fault listener


Scott,

>>>>
I have tried with the nightly build of Apache SOAP, and there is not more
exception in the client when I use ExceptionFaultListener, and there is
a exception in the server
<<<<

What is the stack dump from the server exception?  The nightly build should have more useful information in the dump than the 2.3.1 release had.

>>>>
 (is that a bug in the production version?, if
it is, how could I fix that?)
<<<<

You need to post the stack dump for anyone to determine the nature of the problem.

>>>>
, but I still have a problem:

I have seen the code of ExceptionFaultListener, and it takes the original
exception, wraps it in a Parameter, puts the Parameter in a Vector, and
puts the last one in the detail entries of the Fault (with method setDetailEntries).
In the client side, when I've got a Fault, I get the detail entries Vector
(with method getDetailEntries), take the first element of this Vector (the
only one), and it is not of class Parameter; why?, shouldn't it be a Parameter?
Anyway, this object (the first one of the detail entries Vector) is of class
org.apache.crimson.tree.ElementNode2.
<<<<

It will be a Parameter, unless an exception is thrown trying to de-serialize a detail as a Parameter, in which case it will be kept as an Element.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.