I have tested the function as you said, as I have done before.
 
There is no change in the error message. I do not understand what this proves.
 
In a message dated 7/17/2004 7:53:40 AM Eastern Standard Time, [EMAIL PROTECTED] writes:
Could you please take just a minute, and test it out, instead of
reasoning?  Just call this query function, but do not assign the
returned value to any object.

[EMAIL PROTECTED] wrote:

> I do not think that is truly the case because I can see from my
> logging handler that an array is created and filled with strings and
> sent back through SOAP.

> In a message dated 7/16/2004 3:07:46 PM Eastern Standard Time,
> [EMAIL PROTECTED] writes:
>
>
>     You probably didn't read my message right.  What I meant is do not
>     try
>     casting anyting at all, and it should not expect anything at all
>     because:
>
>     handler.query    (groupName,      password,     accountName,
>     conditions);
>
>     Does not assign the result to anything.  What I meant is that the
>     above
>     statement (without any "=" sign) itself is the problem without
>     even any
>     type casting at all.  If you get this, then you're on your way to
>     figuring out the next move to trouble shoot this.  If not, you're
>     still
>     stuck with type casting string, which is not the problem.
>
>     Get out of your box!
>
>
>     [EMAIL PROTECTED] wrote:
>
>     > 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]>
>     >
>     >
>     >
>
>



 

Reply via email to