Jasper Server Access from RoR

Hello All!

I am new to Ruby on Rails… m trying to access & run the reports
resides in jasper server.I am using web service of Jasper server, till
now m able to list the reports of specified folder but m not able to
generate the report after clicking on any of the report in the list.

I tried some sample code from following links:

http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=36699

http://jasperforge.org/plugins/espforum/view.php?group_id=112&forumid=102&topicid=15846&page=1

I am using :

Ruby version 1.8.6 (i386-mswin32)
RubyGems version 1.3.5
Rack version 1.0
Rails version 2.3.4
Active Record version 2.3.4
Active Resource version 2.3.4
Action Mailer version 2.3.4
Active Support version 2.3.4
Environment development
Database adapter mysql

Jasper Server 3.5.

After running the report i can see it hits my tomcat and complete report
run at tomcat but i get following output in browser

<?xml version="1.0" encoding="UTF-8" ?>

Any help on this is great…

Thanks & Regards,

Yash