# How to consume XMLRPC/SOAP web services in Rails?

**URL:** <https://www.ruby-forum.com/t/how-to-consume-xmlrpc-soap-web-services-in-rails/57108>\
**Category:** Rails\
**Created:** [April 7, 2006, 8:47am UTC](https://www.ruby-forum.com/t/how-to-consume-xmlrpc-soap-web-services-in-rails/57108 "2006-04-07T08:47:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ingoweiss](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/77aa72/32.png) [@ingoweiss](https://www.ruby-forum.com/u/ingoweiss)\
**Post date:** [April 7, 2006, 8:47am UTC](https://www.ruby-forum.com/t/how-to-consume-xmlrpc-soap-web-services-in-rails/57108/1 "2006-04-07T08:47:10Z")

</div>

Hi,

does anybody know of any good HowTo for consuming XML-RPC and/or SOAP  
web services in Rails?

I found some for Ruby (via soap4r/xmlrpc4r), but I was wondering whether  
there is something built into Rails already. So far it looks like there  
are methods to create web services, but not to consume them.

Ingo W.

---

<div class="post-metadata">

**Author:** ![ingoweiss](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/77aa72/32.png) [@ingoweiss](https://www.ruby-forum.com/u/ingoweiss)\
**Post date:** [April 7, 2006, 9:12pm UTC](https://www.ruby-forum.com/t/how-to-consume-xmlrpc-soap-web-services-in-rails/57108/2 "2006-04-07T21:12:17Z")

</div>

On Fri, Apr 07, 2006 at 08:44:33AM +0200, Ingo W. wrote:

> does anybody know of any good HowTo for consuming XML-RPC and/or SOAP  
> web services in Rails?
> 
> I found some for Ruby (via soap4r/xmlrpc4r), but I was wondering whether  
> there is something built into Rails already. So far it looks like there  
> are methods to create web services, but not to consume them.

AWS has client classes as part of it, and AWDWR has a small section on  
using  
them, but I think it recommends using the standard Ruby ones.

- Matt

---

<div class="post-metadata">

**Author:** ![ingoweiss](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/77aa72/32.png) [@ingoweiss](https://www.ruby-forum.com/u/ingoweiss)\
**Post date:** [April 8, 2006, 1:52am UTC](https://www.ruby-forum.com/t/how-to-consume-xmlrpc-soap-web-services-in-rails/57108/3 "2006-04-08T01:52:17Z")

</div>

I think that’s correct. my recollection is that the chapter on Active  
Web Services in the Agile book was based around acting as a server  
more than as a client, and the advice is that if you just want to  
consume those services, you’re better off with the standard libs,  
unless you need to construct stuff from WSDL.

On 4/7/06, Matthew P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> - Matt
> 
> * * *
> 
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

–  
Giles B.  
[www.gilesgoatboy.org](http://www.gilesgoatboy.org)
