# XML as web service method's input parameter

**URL:** <https://rubytalk.org/t/xml-as-web-service-methods-input-parameter/40591>\
**Category:** ruby-talk\
**Created:** [13 September 2007 13:36 UTC](https://rubytalk.org/t/xml-as-web-service-methods-input-parameter/40591 "2007-09-13T13:36:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miquel](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@Miquel](https://rubytalk.org/u/Miquel)\
**Post date:** [13 September 2007 13:36 UTC](https://rubytalk.org/t/xml-as-web-service-methods-input-parameter/40591/1 "2007-09-13T13:36:34Z")

</div>

Hi there

I'm trying to fill a web service method's input parameter with an XML  
and the SOAP message appears without this parameter content.

Should I do something to use a XML as a parameter (like php does using  
word any)?

Thanks in advance

Best regards

&nbsp;&nbsp;Miquel

---

<div class="post-metadata">

**Author:** ![Miquel](https://avatars.discourse-cdn.com/v4/letter/m/e495f1/32.png) [@Miquel](https://rubytalk.org/u/Miquel)\
**Post date:** [13 September 2007 16:26 UTC](https://rubytalk.org/t/xml-as-web-service-methods-input-parameter/40591/2 "2007-09-13T16:26:19Z")

</div>

EL Thu, 13 Sep 2007 22:36:34 +0900  
Miquel \<ktalanet@yahoo.es\> escrigué:

> Hi there
> 
> I'm trying to fill a web service method's input parameter with an XML  
> and the SOAP message appears without this parameter content.
> 
> Should I do something to use a XML as a parameter (like php does using  
> word any)?
> 
> Thanks in advance
> 
> Best regards
> 
> &nbsp;&nbsp;Miquel

I have the response...using SOAPElements

Bye

&nbsp;&nbsp;Miquel
