# Problem in Action Web Service?

**URL:** <https://www.ruby-forum.com/t/problem-in-action-web-service/137594>\
**Category:** Ruby\
**Created:** [May 14, 2008, 2:34pm UTC](https://www.ruby-forum.com/t/problem-in-action-web-service/137594 "2008-05-14T14:34:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![varunkumargoel](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/ed8c4c/32.png) [@varunkumargoel](https://www.ruby-forum.com/u/varunkumargoel)\
**Post date:** [May 14, 2008, 2:34pm UTC](https://www.ruby-forum.com/t/problem-in-action-web-service/137594/1 "2008-05-14T14:34:46Z")

</div>

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?

2. If array is fine then suppose some persons will call my webservice  
through JAVA application then please tell me that he will be able to  
read that array through JAVA or not?Or for that i have to give result as  
XML only.

that array is coming like this  
#SOAP::Mapping::Object:0x335bb98  
#SOAP::Mapping::Object:0x335b1c0

Please give your suggestion.I hope you got me?

Thanks  
Varun
