Yes I have tried all kinds of casting and have even tried not casting. It
tells me it expects to return a String[];
In a message dated 7/16/2004 2:05:48 PM Eastern Standard Time,
[EMAIL PROTECTED] writes:
I told
you already.
Did you try (without assigning the result to
anything).
handler.query (groupName,
password, accountName, conditions);
It's not the
casting to any type in your code.
[EMAIL PROTECTED]
wrote:
> Hello All, > > The past few days been
quite a journey with Axis for me. I have asked > numerous Axis-Users to
help me with this problem. While they have been > more than generous
and wonderful with their attention, this problem > has not gone
away. > > I pass a simple array back from Axis in
Wrapped/Literal form. By > examining the SOAP Envelopes of the web
service, I can see that the > array is generated properly on the
server-side and sent back to the > client side. Herein lies the
problem: The second it returns I receive > the following
error: > >
java.lang.ClassCastException >
java.lang.ClassCastException > > Which occurs on the
following line: > > java.lang.Object
yes_list = handler.query (groupName, >
password, accountName,
conditions); > > I have tried casting this call to many
different types, including > Strings & Objects (Both plain and
array). I have attempted to return > it as an object and try and output
it's type to the screen. > > Plain and simple, this does
not ever get back from the call. Anything > I try in the client file
fails. It goes to the implementation file, > which is executed
successfully, but never returns. The array is lost > somewhere in
Axis. > > Can somebody please offer some help? I am sure
many of you have > returned arrays before. > >
Thanks, > James Crosson > [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
|