# How to pass input for a function in webservice as XML?

**URL:** <https://www.ruby-forum.com/t/how-to-pass-input-for-a-function-in-webservice-as-xml/196645>\
**Category:** Rails\
**Created:** [April 19, 2008, 8:55am UTC](https://www.ruby-forum.com/t/how-to-pass-input-for-a-function-in-webservice-as-xml/196645 "2008-04-19T08:55:49Z")\
**Posts on this page:** 2\
**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:** [April 19, 2008, 8:55am UTC](https://www.ruby-forum.com/t/how-to-pass-input-for-a-function-in-webservice-as-xml/196645/1 "2008-04-19T08:55:49Z")

</div>

Hi All,  
Suppose i have one function which is defined in web service that  
is save\_request(int,string,int).So i wanna pass the inputs in this  
function like XML format.  
web service also in ROR and i am creating one application in ROR where i  
have to integrate with web service now i wanna pass input as XML in  
webservices functions.

Please help me out.

Looking for your suggestions.

Thanks & Regards,  
Varun G.

---

<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:** [April 20, 2008, 7:49am UTC](https://www.ruby-forum.com/t/how-to-pass-input-for-a-function-in-webservice-as-xml/196645/2 "2008-04-20T07:49:38Z")

</div>

On Apr 18, 11:55 pm, Varun G. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> Looking for your suggestions.
> 
> ## Thanks & Regards, Varun G.
> 
> Posted viahttp://www.ruby-forum.com/

Check out [http://servicereg.com](http://servicereg.com)
