reusable code in AWS

From what I’ve read (manual site, AWDWR), I don’t see the ability to
easily re-use your ActionController methods in your ActionWebServices. The problem I’m finding is that the AWS methods require arguments in their definition whereas
the ActionController methods get theirs from the post/get (params). I must be missing something obvious, no? If I’m not, then I can really see why ActiveResource/REST are more attractive…

Ed Hickey wrote:

I must be missing something obvious, no? If I’m not, then I can really
see why ActiveResource/REST are more attractive…

AWS and ARes aren’t the same thing: AWS (the “SOAP interface”) is

candidate for deprecation and ARes (the “REST interface”) won’t be
included in the Rails 1.2 core yet but is available from SVN.

I know. I didn’t mean to make it sound like they were the same. I was saying that, in my experience with AWS, I am beginning to understand why an ARes/REST implementation would be a simpler route than AWS.

ARes is what integrates nicely with RESTful controllers and is probably you’re looking for.

That’s what it’s looking like. It just seems odd that rails, with it’s emphasise on DRY would make you rewrite code in you AWS.

Thanks,
ed