# AWS Client - There has to be a better way

**URL:** <https://www.ruby-forum.com/t/aws-client-there-has-to-be-a-better-way/63490>\
**Category:** Rails\
**Created:** [June 15, 2006, 5:37pm UTC](https://www.ruby-forum.com/t/aws-client-there-has-to-be-a-better-way/63490 "2006-06-15T17:37:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![burrowsm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/d78d45/32.png) [@burrowsm](https://www.ruby-forum.com/u/burrowsm)\
**Post date:** [June 15, 2006, 5:37pm UTC](https://www.ruby-forum.com/t/aws-client-there-has-to-be-a-better-way/63490/1 "2006-06-15T17:37:40Z")

</div>

I’m working on building a SOAP client with AWS, i.e:

class PersonAPI \< ActionWebService::API::Base  
api\_method :find\_all, :returns =\> [[Person]]  
end

soap\_client = ActionWebService::Client::Soap.new(PersonAPI,  
“http://…”)  
persons = soap\_client.find\_all

This works well but I think it breaks down quickly when you try to do  
real world work. Lets take a moderately complex WSDL file from a bank  
with some thirty operations and about fifty different parameter object  
types.

Obviously I don’t want to code everyone of these object types. Is there  
a better way? What would be nice is something like:

./script/generate web\_service\_client [http://the.bank.com/service.wsdl](http://the.bank.com/service.wsdl)

that would generate all the ActionWebService::API::Base classes.

Another thought is to just leave the whole AWS idea behind and use  
SOAP4R.

Your thoughts?  
Matt Bauer

---

<div class="post-metadata">

**Author:** ![burrowsm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/d78d45/32.png) [@burrowsm](https://www.ruby-forum.com/u/burrowsm)\
**Post date:** [June 16, 2006, 3:09pm UTC](https://www.ruby-forum.com/t/aws-client-there-has-to-be-a-better-way/63490/2 "2006-06-16T15:09:34Z")

</div>

I dumped AWS long ago and just use SOAP4R. Far more reliable and better  
supported, though even SOAP4R isn’t perfect either. AWS is going to be  
taken out of Rails core and moved into a plugin in the future anyway as  
its not being actively worked on.

Cheers

Jonathan

* * *

> **[AgileEvolved.com is for sale | HugeDomains](https://www.hugedomains.com/domain_profile.cfm?d=agileevolved.com)**
>
> Own this domain today. We make your shopping experience easy. Friendly and quick customer service.

[http://www.noodlesinmysandals.com](http://www.noodlesinmysandals.com)

---

<div class="post-metadata">

**Author:** ![burrowsm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/d78d45/32.png) [@burrowsm](https://www.ruby-forum.com/u/burrowsm)\
**Post date:** [June 16, 2006, 4:11pm UTC](https://www.ruby-forum.com/t/aws-client-there-has-to-be-a-better-way/63490/3 "2006-06-16T16:11:13Z")

</div>

Jonathan Conway wrote:

> I dumped AWS long ago and just use SOAP4R. Far more reliable and better  
> supported, though even SOAP4R isn’t perfect either. AWS is going to be  
> taken out of Rails core and moved into a plugin in the future anyway as  
> its not being actively worked on.

As I understand it, AWS is not long for this world, rails-wise. It’s  
very likely to be dropped from the core Rails in a future release.

A.
