On Jan 14, 2008 10:57 AM, AbelMacAdam <[EMAIL PROTECTED]> wrote:
> How do you know what the correct cast type is for the return of a request?
By knowing what the server returns.
> String result =
[...]
> What I was expecting (and saw on a comparable request using Phyton command
> line) was:
> ['customer01', 'customer02', 'customer03, ... , 'customer0N'].
These are obviously not matching.
The server returns an Object[]. This can also be seen in the error
message. You've got to iterate over the Object[], which most possibly
contains strings.
Jochen
--
Look, that's why there's rules, understand? So that you think before
you break 'em.
-- (Terry Pratchett, Thief of Time)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]