There are 2 methods in the webservice listUsers and listMessages
These each return a String[] array of their items (text from the database).
First question, any idea how I would return an array of the IDs and the text from the database.
In PHP I would use array(id => text), but in Java I can't do this as you have to set the size of the array and of course the size doesn't always match up with the IDs (i.e. there might only be 3 items, but the lowest ID could be 35) so if I tried items[35] = text it would cause an error as the maximum index for the array is 3.
The second question, the array is returned from the WebService to the Client, but I need to create an array variable to assign it to. Of course I don't know the size of the array so how would I do that?
