# Requesting Newbie Guidence and Advice

**URL:** <https://www.ruby-forum.com/t/requesting-newbie-guidence-and-advice/81573>\
**Category:** Rails\
**Created:** [January 10, 2007, 1:18am UTC](https://www.ruby-forum.com/t/requesting-newbie-guidence-and-advice/81573 "2007-01-10T01:18:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![solutionmeister](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b19c9b/32.png) [@solutionmeister](https://www.ruby-forum.com/u/solutionmeister)\
**Post date:** [January 10, 2007, 1:18am UTC](https://www.ruby-forum.com/t/requesting-newbie-guidence-and-advice/81573/1 "2007-01-10T01:18:49Z")

</div>

Hello all:

As I am going through Ruby on Rails for the first time I would  
appreciate some clarifications from the gurus. I am new and I am bit  
confused by the following  
conceptions that I have gathered myself by reading blogs etc…

1. Active Resource makes it super easy to serve REST based services i.e.  
XML to anyone, i.e. its acts as REST Server Side application. Correct?  
Bottom line I can serve XML to others …

2. Active Resource also can be used to “consume” XML service i.e. act as  
a client. Now so far I have seen examples and all of them are consuming  
Rails based applications XML i.e. Active Resource REST Server Side — \>  
Another rails app Active Resource clients. So far so good? no?  
Now can you consume XML from 3rd party i.e Amazon? Ebay etc? using  
Active Resource client? I have seen no blog post or any example of such  
… nada… Why can you not do this? and why would one do this? Can one  
define Active Resource is just a protocol so that rails app can talk to  
each other?

3. What is the story with Action WebService? As I understand you have  
the tools/libs here so you can make a SOAP client or XML-RPC client or  
Server, I gues you can do REST too. What I wonder was - why would anyone  
make Active Resources when you can just beef up the current Action  
WebService?

4. Most of the example I have seen for consuming XML or Webservices i.e.  
3rd party web service are coming directly out of Ruby libs Hpricot,  
Machanize, REXML etc, etc… and then you also have bundles of gem that  
just do amazon, or yahoo or ebay what not. This I understand and grasp  
cos its like other programming language…

I think I am probably lost either in terminology… my interest is what  
is the best way of consuming i.e. – whatever XML Ebay or corporation X  
or intranet Y produce? Why? pros and cons? I am interested to more of  
convention rather then which lib is fast cos every lib has its plus and  
minus…

Making my service available in XML to others also is interest of mine  
and same here looking for convention

Am I completely lost? or ? Could someone please explain…

Thanks again!

---

<div class="post-metadata">

**Author:** ![solutionmeister](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/b19c9b/32.png) [@solutionmeister](https://www.ruby-forum.com/u/solutionmeister)\
**Post date:** [October 20, 2008, 3:44am UTC](https://www.ruby-forum.com/t/requesting-newbie-guidence-and-advice/81573/2 "2008-10-20T03:44:46Z")

</div>

I was just looking for the same advice too 🙂
