gregarican schrieb:
> I started off passing back a single SQL record to my xmlrpc client
> using the following code on the xmlrpc server:
> 
> resultSet = query.fetch.to_a
> return resultSet
> 
> Now I am looking to pass along an SQL recordset to my xmlrpc client. So
> I tried the following code on the xmlrpc server:
> 
> resultSet = query.fetch_all.to_a
> return resultSet
> 
> But the xmlrpc client end reports an HTTP 500 Internal Server error
> when parsing this SQL recordset data back.

If this works

   query.fetch.to_a

and this doesn't

   query.fetch_all.to_a

maybe you need to convert each single record to an array first, like

   query.fetch_all.map { |record| record.to_a }

Just a guess...

Regards,
Pit