Can you try using latest Axis2 1.7.0-SNAPSHOTS ? BTW I don't think this is supported instead you could try for List of List in Axis2 1.7.0-SNAPSHOTS.
Thanks ! On Tue, Aug 2, 2011 at 8:00 PM, Barry Hathaway <bhath...@nycap.rr.com> wrote: > I have a POJO service method at returns a List<Object>[]: > > public List<Object>[] query(String sparcql) > > Then in my client I have: > > Class[] queryReturnTypes = new Class[] { List[].class }; > try { > Object[] queryResponse = serviceClient.invokeBlocking(queryQName, > queryArgs, queryReturnTypes); > List<Object>[] rs = (List<Object>[]) queryResponse[0]; > for (int i=0; i<rs.length; i++) { > log.info("Response from 'query' operation: > "+rs[i].toString()); > } > > Debug statements within the query method indicate that I'm returning 2 lists > (array size is 2); > however, the above logs statements print out: > > Response from 'query' operation: [<empty > xmlns="http://www.w3.org/2001/XMLSchema">false</empty>] > Response from 'query' operation: [<empty > xmlns="http://www.w3.org/2001/XMLSchema">false</empty>] > > If I replace the return type with just List.class then I only get the first > of the two above results. > What gives? How do I return and reference a List<Object>[]? > Thanks. > > Barry Hathaway > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org > For additional commands, e-mail: java-user-h...@axis.apache.org > > -- Sagara Gunathunga Blog - http://ssagara.blogspot.com Web - http://people.apache.org/~sagara/ LinkedIn - http://www.linkedin.com/in/ssagara --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org