Problem with Action Web service???

Hi All,
I created one webservice using ROR.It's working fine but now i
have some questions.

1. Whenever i am accessing my webservice through my another ROR
application then i am getting the result as an array.Please tell how can
i get the result as XML i hope for that i have to change in my
webservice so please tell me how to do?

I may be misunderstanding completely, but I think the thing here is
just that rails has already parsed the xml for you and turned it into
a bunch of ruby objects.