What version do you have? Nested arrays were not feeling too swift in
2.0.

> -----Original Message-----
> From: Drew Hite [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 07, 2007 9:07 AM
> To: [email protected]
> Subject: returning tabular data from a webmethod
> 
> Hello,
> I started using CXF a few days ago, and I'm trying to implement a
"Java
> first" web service.  I created the web service in the "Spring way" as
> outlined here:
> http://cwiki.apache.org/CXF20DOC/writing-a-service-with-spring.html
and I
> generated the client using WSDL2Java.  I would like one of the methods
to
> return data in a manner similar to java.sql.Resultset with rows and
> columns.  I've tried making the return type String[][] and also
> List<String[]>, but in both instances I get errors when I test using
the
> WSDL2Java generated proxies. Delimiting each column with a special
> character
> like a pipe and returning a String[] does work, but I would like to
return
> the data in a more structured format.  Is there a tried and true way
for
> returning data returned from a database query for a CXF web service?
> 
> Thanks,
> Drew

Reply via email to