Thanks both for your help, I could do that, I was just wondering if
there was a method like setDebug(true) that may have been a helper method.
But I can get it that way also.
Thanks.
(I just think that the call was returning an empty Array. I made another
call and it worked)
On 4/26/10 4:
On Mon, Apr 26, 2010 at 2:07 PM, Stanislav Miklik
wrote:
> hm, try wireshark or something similar. I don't know better solution.
Seconded. Capture the session in Wireshark, and then follow the TCP
stream. You will then see both the XMLPRC request and response, and
it will probably become obviou
hm, try wireshark or something similar. I don't know better solution.
On Mon, Apr 26, 2010 at 21:54, David J. wrote:
> Thanks for your help Stano,
>
> I try to access the object by index, (people[0]) but I get an index out of
> bounds exception.
>
> Is there a way I can set debug on the response
Thanks for your help Stano,
I try to access the object by index, (people[0]) but I get an index out
of bounds exception.
Is there a way I can set debug on the response to see the raw method
response?
Thanks.
On 4/26/10 3:12 PM, Stanislav Miklik wrote:
Hi,
since you don't get a class cas
Hi,
since you don't get a class cast exception, everything seems to be working
as it should be.
in your print you probably get something like [Ljava.lang.Object;@1100d7a
but this means that you have array of Objects
Thus you can access the first person as people[0].
The corresponding type will be
How do I access an Array that is returned in a HashMap?
The server returns a HashMap with the following values
{responseCode=OK,people=[Array of People]}
I cast the response to a HashMap which then lets me access the objects
by key,
although the Array simple returns Object, and I cant access