Thanks for your help
 
The class exceptionhappens immediately when the function returns. It never gets to the next line to tell me what the object type is.
 
Any other suggestions?
 
In a message dated 7/15/2004 4:42:03 PM Eastern Standard Time, [EMAIL PROTECTED] writes:
Why don't you just do this:

Object obj = handler.query(...);
System.out.println(obj.getClass());

and then you can actually see what class the object is
an instance of.  If you're using wrapped (or something
other than RPC) its probably not a String[] array
instance its probably something like ArrayOfstring
which holds the String array inside it (therefore
you'll get the class cast exception if you're trying
to cast it to an array).

--- Vy Ho <[EMAIL PROTECTED]> wrote:
> So did you try with:
>
> Object obj = handler.query(...);
>
> If no exception, can you do some investigation on
> this obj.  Such as
> doing some reflection on it?
>
>

 

Reply via email to