I have a soap Service: @WebMethod public ArrayList<String[]> getData() { // invoked by android app dataStore = DatastoreServiceFactory.getDatastoreService(); ArrayList<Entity> list = (ArrayList<Entity>) dataStore.prepare(query).asList(FetchOptions.Builder.withLimit(100));
if (!list.isEmpty()) { ArrayList<String[]> res=new ArrayList<String[]>(); String[] to_add; // convert entity into strings for (Entity current : list) { to_add=new String[3]; to_add[0]=String.valueOf(current.getProperty(TEMP_ROW)); to_add[1]=String.valueOf(current.getProperty(HUM_ROW)); to_add[2]=String.valueOf(current.getProperty(DATE_ROW)); res.add(to_add); } return res; } return null; } and as declared should return a List<String[]> object. After import all java file for soap comunication into client, when i try to call getData method like Functions functions = new FunctionsService().getFunctionsPort(); List<String[]> lista = functions.getData(); Eclipse told me that getData() return List<StringArray>, not List<String[]>. How it's possible? StringArray isn't a java data type and isn't what i'm expecting... why happen this strange thing? how can i cast StringArray into correct data type? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To post to this group, send email to google-appengine@googlegroups.com. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.